Struct const_format::for_examples::Unit
source · pub struct Unit;
Available on crate feature
fmt
only.Expand description
An example unit struct which implements const debug formatting.
Implementations§
Trait Implementations§
source§impl FormatMarker for Unit
impl FormatMarker for Unit
impl Copy for Unit
Auto Trait Implementations§
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnwindSafe for Unit
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