pub struct Id<T>(pub T);Expand description
This is just a marker type for macro transformation.
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> Ord for Id<T>where
T: Ord,
impl<T> Ord for Id<T>where
T: Ord,
Source§impl<T> PartialOrd for Id<T>where
T: PartialOrd,
impl<T> PartialOrd for Id<T>where
T: PartialOrd,
impl<T> Eq for Id<T>where
T: Eq,
impl<T> StructuralPartialEq for Id<T>
Auto Trait Implementations§
impl<T> Freeze for Id<T>where
T: Freeze,
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