pub struct Id<S, X> { /* private fields */ }Expand description
An identifier for type X.
The Id type works by ensuring
Implementations§
Trait Implementations§
impl<S, X> Copy for Id<S, X>
impl<S, X> Eq for Id<S, X>
Source§impl<S, X> Ord for Id<S, X>
impl<S, X> Ord for Id<S, X>
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
Source§impl<S, X> PartialOrd for Id<S, X>
impl<S, X> PartialOrd for Id<S, X>
Auto Trait Implementations§
impl<S, X> Freeze for Id<S, X>
impl<S, X> RefUnwindSafe for Id<S, X>
impl<S, X> Send for Id<S, X>
impl<S, X> Sync for Id<S, X>
impl<S, X> Unpin for Id<S, X>
impl<S, X> UnsafeUnpin for Id<S, X>
impl<S, X> UnwindSafe for Id<S, X>
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