Struct scsys_core::id::indexed::IndexId
source · pub struct IndexId<Idx = usize> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<Idx: Ord> Ord for IndexId<Idx>
impl<Idx: Ord> Ord for IndexId<Idx>
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<Idx: PartialEq> PartialEq for IndexId<Idx>
impl<Idx: PartialEq> PartialEq for IndexId<Idx>
source§impl<Idx: PartialOrd> PartialOrd for IndexId<Idx>
impl<Idx: PartialOrd> PartialOrd for IndexId<Idx>
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<Idx: Copy> Copy for IndexId<Idx>
impl<Idx: Eq> Eq for IndexId<Idx>
impl<Idx> StructuralPartialEq for IndexId<Idx>
Auto Trait Implementations§
impl<Idx> Freeze for IndexId<Idx>where
Idx: Freeze,
impl<Idx> RefUnwindSafe for IndexId<Idx>where
Idx: RefUnwindSafe,
impl<Idx> Send for IndexId<Idx>where
Idx: Send,
impl<Idx> Sync for IndexId<Idx>where
Idx: Sync,
impl<Idx> Unpin for IndexId<Idx>where
Idx: Unpin,
impl<Idx> UnwindSafe for IndexId<Idx>where
Idx: UnwindSafe,
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