pub struct KiCadAuthoredVariant {
pub name: String,
pub flags: KiCadVariantFlags,
pub fields: Vec<KiCadVariantField>,
pub unsupported_tokens: Vec<String>,
pub source_range: Range<usize>,
}Expand description
Authored clause evidence, retaining unsupported semantic tokens for scoped qualification.
Fields§
§name: String§flags: KiCadVariantFlags§fields: Vec<KiCadVariantField>§unsupported_tokens: Vec<String>§source_range: Range<usize>Trait Implementations§
Source§impl Clone for KiCadAuthoredVariant
impl Clone for KiCadAuthoredVariant
Source§fn clone(&self) -> KiCadAuthoredVariant
fn clone(&self) -> KiCadAuthoredVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KiCadAuthoredVariant
impl Debug for KiCadAuthoredVariant
impl Eq for KiCadAuthoredVariant
Source§impl PartialEq for KiCadAuthoredVariant
impl PartialEq for KiCadAuthoredVariant
impl StructuralPartialEq for KiCadAuthoredVariant
Auto Trait Implementations§
impl Freeze for KiCadAuthoredVariant
impl RefUnwindSafe for KiCadAuthoredVariant
impl Send for KiCadAuthoredVariant
impl Sync for KiCadAuthoredVariant
impl Unpin for KiCadAuthoredVariant
impl UnsafeUnpin for KiCadAuthoredVariant
impl UnwindSafe for KiCadAuthoredVariant
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.