pub enum FmtType {
Default,
Str,
Dec,
Hex,
HexUpper,
Oct,
Bin,
Exp,
ExpUpper,
Fixed,
FixedUpper,
Percent,
}Variants§
Default
No type letter: d for Int, the shortest form (or f with a precision) for Float, text
for everything else.
Str
s: the value’s to_s.
Dec
Hex
HexUpper
Oct
Bin
Exp
ExpUpper
Fixed
FixedUpper
Percent
Trait Implementations§
impl Copy for FmtType
impl Eq for FmtType
impl StructuralPartialEq for FmtType
Auto Trait Implementations§
impl Freeze for FmtType
impl RefUnwindSafe for FmtType
impl Send for FmtType
impl Sync for FmtType
impl Unpin for FmtType
impl UnsafeUnpin for FmtType
impl UnwindSafe for FmtType
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