pub struct Format<F>(pub F)
where
F: Display;
Expand description
Newtype which constructs an Info::Format
through ErrorInfo
Tuple Fields
0: F
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for Format<F> where
F: RefUnwindSafe,
impl<F> Send for Format<F> where
F: Send,
impl<F> Sync for Format<F> where
F: Sync,
impl<F> Unpin for Format<F> where
F: Unpin,
impl<F> UnwindSafe for Format<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more