pub enum FormatType {
Display,
Debug,
LowerHex,
UpperHex,
Octal,
Binary,
LowerExp,
UpperExp,
}Expand description
The trailing type character of a {...} placeholder spec.
Variants§
Display
{} — default Display formatting.
Debug
{:?} (combined with #, i.e. {:#?}, for pretty output).
LowerHex
{:x}
UpperHex
{:X}
Octal
{:o}
Binary
{:b}
LowerExp
{:e}
UpperExp
{:E}
Trait Implementations§
Source§impl Clone for FormatType
impl Clone for FormatType
Source§fn clone(&self) -> FormatType
fn clone(&self) -> FormatType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FormatType
Source§impl Debug for FormatType
impl Debug for FormatType
impl Eq for FormatType
Source§impl PartialEq for FormatType
impl PartialEq for FormatType
impl StructuralPartialEq for FormatType
Auto Trait Implementations§
impl Freeze for FormatType
impl RefUnwindSafe for FormatType
impl Send for FormatType
impl Sync for FormatType
impl Unpin for FormatType
impl UnsafeUnpin for FormatType
impl UnwindSafe for FormatType
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