pub struct Id<Idx = usize> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<'de, Idx> Deserialize<'de> for Id<Idx>where
Idx: Deserialize<'de>,
impl<'de, Idx> Deserialize<'de> for Id<Idx>where
Idx: Deserialize<'de>,
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<Idx: Ord> Ord for Id<Idx>
impl<Idx: Ord> Ord for Id<Idx>
source§impl<Idx: PartialEq> PartialEq for Id<Idx>
impl<Idx: PartialEq> PartialEq for Id<Idx>
source§impl<Idx: PartialOrd> PartialOrd for Id<Idx>
impl<Idx: PartialOrd> PartialOrd for Id<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 Id<Idx>
impl<Idx: Eq> Eq for Id<Idx>
impl<Idx> StructuralPartialEq for Id<Idx>
Auto Trait Implementations§
impl<Idx> Freeze for Id<Idx>where
Idx: Freeze,
impl<Idx> RefUnwindSafe for Id<Idx>where
Idx: RefUnwindSafe,
impl<Idx> Send for Id<Idx>where
Idx: Send,
impl<Idx> Sync for Id<Idx>where
Idx: Sync,
impl<Idx> Unpin for Id<Idx>where
Idx: Unpin,
impl<Idx> UnwindSafe for Id<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