Struct Display2Format
pub struct Display2Format<T>(pub T)
where
T: Display;Expand description
No-op wrapper that formats the Display trait (drop-in replacement for the equivalent defmt
type).
Tuple Fields§
§0: TTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Display2Format<T>where
T: Freeze,
impl<T> RefUnwindSafe for Display2Format<T>where
T: RefUnwindSafe,
impl<T> Send for Display2Format<T>where
T: Send,
impl<T> Sync for Display2Format<T>where
T: Sync,
impl<T> Unpin for Display2Format<T>where
T: Unpin,
impl<T> UnsafeUnpin for Display2Format<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Display2Format<T>where
T: 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