pub struct IdentityFn;Trait Implementations§
Source§impl Clone for IdentityFn
impl Clone for IdentityFn
Source§fn clone(&self) -> IdentityFn
fn clone(&self) -> IdentityFn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IdentityFn
Auto Trait Implementations§
impl Freeze for IdentityFn
impl RefUnwindSafe for IdentityFn
impl Send for IdentityFn
impl Sync for IdentityFn
impl Unpin for IdentityFn
impl UnwindSafe for IdentityFn
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