pub struct Debug<F: Fn(&mut Formatter<'_>) -> Result>(pub F);
Expand description
A lazy format type that implements Debug as base format trait
Tuple Fields§
§0: F
Trait Implementations§
impl<F: Copy + Fn(&mut Formatter<'_>) -> Result> Copy for Debug<F>
Auto Trait Implementations§
impl<F> Freeze for Debug<F>where
F: Freeze,
impl<F> RefUnwindSafe for Debug<F>where
F: RefUnwindSafe,
impl<F> Send for Debug<F>where
F: Send,
impl<F> Sync for Debug<F>where
F: Sync,
impl<F> Unpin for Debug<F>where
F: Unpin,
impl<F> UnwindSafe for Debug<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