pub struct Identity<E>(/* private fields */);
Implementations§
Trait Implementations§
impl<E> Copy for Identity<E>
Auto Trait Implementations§
impl<E> Freeze for Identity<E>
impl<E> RefUnwindSafe for Identity<E>where
E: RefUnwindSafe,
impl<E> Send for Identity<E>where
E: Send,
impl<E> Sync for Identity<E>where
E: Sync,
impl<E> Unpin for Identity<E>where
E: Unpin,
impl<E> UnwindSafe for Identity<E>where
E: 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