pub struct FnIdentity;
Expand description
Type-level identity function
Trait Implementations§
Source§impl<T: ?Sized> RevTypeFn<T> for FnIdentity
impl<T: ?Sized> RevTypeFn<T> for FnIdentity
Auto Trait Implementations§
impl Freeze for FnIdentity
impl RefUnwindSafe for FnIdentity
impl Send for FnIdentity
impl Sync for FnIdentity
impl Unpin for FnIdentity
impl UnwindSafe for FnIdentity
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