pub struct Canonical(pub Id, pub Id);
Expand description
Canonical name of a Port
Tuple Fields§
§0: Id
§1: Id
Trait Implementations§
source§impl Ord for Canonical
impl Ord for Canonical
source§impl PartialEq<Canonical> for Canonical
impl PartialEq<Canonical> for Canonical
source§impl PartialOrd<Canonical> for Canonical
impl PartialOrd<Canonical> for Canonical
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 moreimpl Eq for Canonical
impl StructuralEq for Canonical
impl StructuralPartialEq for Canonical
Auto Trait Implementations§
impl RefUnwindSafe for Canonical
impl Send for Canonical
impl Sync for Canonical
impl Unpin for Canonical
impl UnwindSafe for Canonical
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.