Struct scir::AnnotatedInstancePath
source · pub struct AnnotatedInstancePath {
pub top: InstancePathCell,
pub instances: Vec<AnnotatedInstancePathElement>,
}
Expand description
A path to an instance in a SCIR library with annotated metadata.
Fields§
§top: InstancePathCell
ID or name of the top cell.
If the name corresponds to a SCIR cell, this should always be an ID.
instances: Vec<AnnotatedInstancePathElement>
Path of SCIR instance IDs.
Trait Implementations§
source§impl Clone for AnnotatedInstancePath
impl Clone for AnnotatedInstancePath
source§fn clone(&self) -> AnnotatedInstancePath
fn clone(&self) -> AnnotatedInstancePath
Returns a copy of the value. Read more
1.0.0 · 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 AnnotatedInstancePath
impl Debug for AnnotatedInstancePath
source§impl<'de> Deserialize<'de> for AnnotatedInstancePath
impl<'de> Deserialize<'de> for AnnotatedInstancePath
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
source§impl From<AnnotatedInstancePath> for InstancePath
impl From<AnnotatedInstancePath> for InstancePath
source§fn from(value: AnnotatedInstancePath) -> Self
fn from(value: AnnotatedInstancePath) -> Self
Converts to this type from the input type.
source§impl Hash for AnnotatedInstancePath
impl Hash for AnnotatedInstancePath
source§impl Ord for AnnotatedInstancePath
impl Ord for AnnotatedInstancePath
source§fn cmp(&self, other: &AnnotatedInstancePath) -> Ordering
fn cmp(&self, other: &AnnotatedInstancePath) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AnnotatedInstancePath
impl PartialEq for AnnotatedInstancePath
source§fn eq(&self, other: &AnnotatedInstancePath) -> bool
fn eq(&self, other: &AnnotatedInstancePath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AnnotatedInstancePath
impl PartialOrd for AnnotatedInstancePath
source§fn partial_cmp(&self, other: &AnnotatedInstancePath) -> Option<Ordering>
fn partial_cmp(&self, other: &AnnotatedInstancePath) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for AnnotatedInstancePath
impl Serialize for AnnotatedInstancePath
impl Eq for AnnotatedInstancePath
impl StructuralPartialEq for AnnotatedInstancePath
Auto Trait Implementations§
impl RefUnwindSafe for AnnotatedInstancePath
impl Send for AnnotatedInstancePath
impl Sync for AnnotatedInstancePath
impl Unpin for AnnotatedInstancePath
impl UnwindSafe for AnnotatedInstancePath
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.