pub struct PathId(/* private fields */);Expand description
Id representing different paths when using multipath extension
Implementations§
Source§impl PathId
impl PathId
Sourcepub fn saturating_add(self, rhs: impl Into<PathId>) -> PathId
pub fn saturating_add(self, rhs: impl Into<PathId>) -> PathId
Saturating integer addition. Computes self + rhs, saturating at the numeric bounds instead of overflowing.
Sourcepub fn saturating_sub(self, rhs: impl Into<PathId>) -> PathId
pub fn saturating_sub(self, rhs: impl Into<PathId>) -> PathId
Saturating integer subtraction. Computes self - rhs, saturating at the numeric bounds instead of overflowing.
Trait Implementations§
Source§impl Ord for PathId
impl Ord for PathId
Source§impl PartialOrd for PathId
impl PartialOrd for PathId
impl Copy for PathId
impl Eq for PathId
impl IdentityHashable for PathId
impl StructuralPartialEq for PathId
Auto Trait Implementations§
impl Freeze for PathId
impl RefUnwindSafe for PathId
impl Send for PathId
impl Sync for PathId
impl Unpin for PathId
impl UnwindSafe for PathId
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> 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.