pub struct Display<F: Fn(&mut Formatter<'_>) -> Result>(pub F);
Expand description
Tuple Fields§
§0: F
Trait Implementations§
impl<F: Copy + Fn(&mut Formatter<'_>) -> Result> Copy for Display<F>
Auto Trait Implementations§
impl<F> Freeze for Display<F>where
F: Freeze,
impl<F> RefUnwindSafe for Display<F>where
F: RefUnwindSafe,
impl<F> Send for Display<F>where
F: Send,
impl<F> Sync for Display<F>where
F: Sync,
impl<F> Unpin for Display<F>where
F: Unpin,
impl<F> UnwindSafe for Display<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