pub struct DebugFn<F: ?Sized>(pub F);
Expand description
A wrapper for Fn
s that provides a debug impl that just says “Function”
Tuple Fields§
§0: F
Trait Implementations§
Auto Trait Implementations§
impl<F: ?Sized> RefUnwindSafe for DebugFn<F>where F: RefUnwindSafe,
impl<F: ?Sized> Send for DebugFn<F>where F: Send,
impl<F: ?Sized> Sync for DebugFn<F>where F: Sync,
impl<F: ?Sized> Unpin for DebugFn<F>where F: Unpin,
impl<F: ?Sized> UnwindSafe for DebugFn<F>where F: 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