pub struct Id<T>(_);
Trait Implementations§
source§impl<T: Ord> Ord for Id<T>
impl<T: Ord> Ord for Id<T>
source§impl<T: PartialEq> PartialEq<Id<T>> for Id<T>
impl<T: PartialEq> PartialEq<Id<T>> for Id<T>
source§impl<T: PartialOrd> PartialOrd<Id<T>> for Id<T>
impl<T: PartialOrd> PartialOrd<Id<T>> for Id<T>
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<T: Eq> Eq for Id<T>
impl<T> StructuralEq for Id<T>
impl<T> StructuralPartialEq for Id<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Id<T>where T: RefUnwindSafe,
impl<T> Send for Id<T>where T: Send,
impl<T> Sync for Id<T>where T: Sync,
impl<T> Unpin for Id<T>where T: Unpin,
impl<T> UnwindSafe for Id<T>where T: 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