[−][src]Enum dynfmt::FormatType
Formatting types for arguments.
Variants
Display
Print the display representation of the argument.
Debug
Print the debug representation of the argument.
This is not yet implemented!
Object
Print a structured representation of the argument.
This will serialize the argument as JSON. If the json
feature is turned off, an argument
like this will result in an error.
Octal
Print the octal representation of the argument.
LowerHex
Print the lower hex representation of the argument.
UpperHex
Print the upper hex representation of the argument.
Pointer
Print the pointer representation of the argument.
Binary
Print the binary representation of the argument.
LowerExp
Print the lower exponential representation of the argument.
UpperExp
Print the upper exponential representation of the argument.
Literal(&'static str)
Print an escaped literal from the format string.
Methods
impl FormatType
[src]
Trait Implementations
impl PartialEq<FormatType> for FormatType
[src]
fn eq(&self, other: &FormatType) -> bool
[src]
fn ne(&self, other: &FormatType) -> bool
[src]
impl Default for FormatType
[src]
impl Clone for FormatType
[src]
fn clone(&self) -> FormatType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for FormatType
[src]
impl Copy for FormatType
[src]
impl Display for FormatType
[src]
impl Debug for FormatType
[src]
Auto Trait Implementations
impl Send for FormatType
impl Unpin for FormatType
impl Sync for FormatType
impl RefUnwindSafe for FormatType
impl UnwindSafe for FormatType
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,