pub struct NoDisplay<T>(_);Expand description
Wraps a type T and provides a Display impl that does not rely on T being Display.
Provided for completeness (to mirror NoDebug).
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for NoDisplay<T> where
T: RefUnwindSafe,
impl<T> Send for NoDisplay<T> where
T: Send,
impl<T> Sync for NoDisplay<T> where
T: Sync,
impl<T> Unpin for NoDisplay<T> where
T: Unpin,
impl<T> UnwindSafe for NoDisplay<T> where
T: 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