pub struct IdF;
Expand description
The identity TypeFunction
, ApF<IdF, T> == T
. Coercing through this gives
us the basic safe transmute.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdF
impl RefUnwindSafe for IdF
impl Send for IdF
impl Sync for IdF
impl Unpin for IdF
impl UnwindSafe for IdF
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