pub struct FnRef<'f, F> { /* private fields */ }
Expand description
A reference to the function, which also signals when the reference is dropped.
Trait Implementations§
Auto Trait Implementations§
impl<'f, F> Freeze for FnRef<'f, F>
impl<'f, F> RefUnwindSafe for FnRef<'f, F>where
F: RefUnwindSafe,
impl<'f, F> Send for FnRef<'f, F>where
F: Sync,
impl<'f, F> Sync for FnRef<'f, F>where
F: Sync,
impl<'f, F> Unpin for FnRef<'f, F>
impl<'f, F> UnwindSafe for FnRef<'f, F>where
F: RefUnwindSafe,
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