Struct std::fmt::internal::NumFormatAdapter
struct NumFormatAdapter<T> { ... }
T: Integer
Fields
-
radix: u16
-
value: T
Methods
impl NumFormatAdapter<T> { ... }
T: Integer
-
fn fmt<F>(self: &NumFormatAdapter<T>, fmt: &mut F) -> Result
F: Formatter<F> -
fn hex(self: NumFormatAdapter<T>) -> NumFormatAdapter<T>
-
fn oct(self: NumFormatAdapter<T>) -> NumFormatAdapter<T>
-
fn bin(self: NumFormatAdapter<T>) -> NumFormatAdapter<T>
-
fn zero_pad(self: NumFormatAdapter<T>, pad: usize) -> NumFormatAdapter<T>