pub struct DisplayOption<'a, T>(/* private fields */);Expand description
Wrapper that makes Option<T> implement Display.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for DisplayOption<'a, T>
impl<'a, T> RefUnwindSafe for DisplayOption<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for DisplayOption<'a, T>where
T: Sync,
impl<'a, T> Sync for DisplayOption<'a, T>where
T: Sync,
impl<'a, T> Unpin for DisplayOption<'a, T>
impl<'a, T> UnwindSafe for DisplayOption<'a, T>where
T: RefUnwindSafe,
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