pub struct SchematicSymbolInstance {
pub project: Arc<str>,
pub path: String,
pub reference: String,
pub unit: i64,
pub variants: Vec<SchematicSymbolInstanceVariant>,
/* private fields */
}Fields§
§project: Arc<str>§path: String§reference: String§unit: i64§variants: Vec<SchematicSymbolInstanceVariant>Implementations§
Source§impl SchematicSymbolInstance
impl SchematicSymbolInstance
pub fn variant(&self, name: &str) -> Option<&SchematicSymbolInstanceVariant>
Trait Implementations§
Source§impl Clone for SchematicSymbolInstance
impl Clone for SchematicSymbolInstance
Source§fn clone(&self) -> SchematicSymbolInstance
fn clone(&self) -> SchematicSymbolInstance
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 SchematicSymbolInstance
impl Debug for SchematicSymbolInstance
Source§impl<'de> Deserialize<'de> for SchematicSymbolInstance
impl<'de> Deserialize<'de> for SchematicSymbolInstance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SchematicSymbolInstance
Source§impl PartialEq for SchematicSymbolInstance
impl PartialEq for SchematicSymbolInstance
Source§impl Serialize for SchematicSymbolInstance
impl Serialize for SchematicSymbolInstance
impl StructuralPartialEq for SchematicSymbolInstance
Auto Trait Implementations§
impl Freeze for SchematicSymbolInstance
impl RefUnwindSafe for SchematicSymbolInstance
impl Send for SchematicSymbolInstance
impl Sync for SchematicSymbolInstance
impl Unpin for SchematicSymbolInstance
impl UnsafeUnpin for SchematicSymbolInstance
impl UnwindSafe for SchematicSymbolInstance
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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.