pub struct WrapDebug<F: Fn(&mut Formatter<'_>) -> Result>(pub F);Expand description
A wrapper for a function that implements Debug.
Tuple Fields§
§0: FTrait Implementations§
Auto Trait Implementations§
impl<F> Freeze for WrapDebug<F>where
F: Freeze,
impl<F> RefUnwindSafe for WrapDebug<F>where
F: RefUnwindSafe,
impl<F> Send for WrapDebug<F>where
F: Send,
impl<F> Sync for WrapDebug<F>where
F: Sync,
impl<F> Unpin for WrapDebug<F>where
F: Unpin,
impl<F> UnwindSafe for WrapDebug<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