pub struct GraphId<K> { /* private fields */ }Expand description
One dense u32 position whose marker fixes the collection it addresses.
Implementations§
Trait Implementations§
impl<K: Copy> Copy for GraphId<K>
impl<K: Eq> Eq for GraphId<K>
Source§impl<K: Ord> Ord for GraphId<K>
impl<K: Ord> Ord for GraphId<K>
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<K: PartialOrd> PartialOrd for GraphId<K>
impl<K: PartialOrd> PartialOrd for GraphId<K>
impl<K: PartialEq> StructuralPartialEq for GraphId<K>
Auto Trait Implementations§
impl<K> Freeze for GraphId<K>
impl<K> RefUnwindSafe for GraphId<K>
impl<K> Send for GraphId<K>
impl<K> Sync for GraphId<K>
impl<K> Unpin for GraphId<K>
impl<K> UnsafeUnpin for GraphId<K>
impl<K> UnwindSafe for GraphId<K>
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