Enum defmt_parser::DisplayHint [−][src]
pub enum DisplayHint {
NoHint {
zero_pad: usize,
},
Hexadecimal {
alternate: bool,
uppercase: bool,
zero_pad: usize,
},
Binary {
alternate: bool,
zero_pad: usize,
},
Ascii,
Debug,
Microseconds,
Unknown(String),
}This is supported on
unstable only.Expand description
All display hints
Variants
Show fields
Fields of NoHint
zero_pad: usize:x OR :X
:b
:a
:?
:µs, formats integers as timestamps in microseconds
Unknown(String)Display hints currently not supported / understood
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DisplayHintimpl Send for DisplayHintimpl Sync for DisplayHintimpl Unpin for DisplayHintimpl UnwindSafe for DisplayHintBlanket Implementations
Mutably borrows from an owned value. Read more