Trait wyz::fmt::FmtForward [−][src]
pub trait FmtForward: Sized {
fn fmt_binary(self) -> FmtBinary<Self>
where
Self: Binary,
{ ... }
fn fmt_display(self) -> FmtDisplay<Self>
where
Self: Display,
{ ... }
fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where
Self: LowerExp,
{ ... }
fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where
Self: LowerHex,
{ ... }
fn fmt_octal(self) -> FmtOctal<Self>
where
Self: Octal,
{ ... }
fn fmt_pointer(self) -> FmtPointer<Self>
where
Self: Pointer,
{ ... }
fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where
Self: UpperExp,
{ ... }
fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where
Self: UpperHex,
{ ... }
}Expand description
Wraps any value with a format-forward to Debug.
Provided methods
fn fmt_binary(self) -> FmtBinary<Self> where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self> where
Self: Binary,
Causes self to use its Binary implementation when Debug-formatted.
fn fmt_display(self) -> FmtDisplay<Self> where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self> where
Self: Display,
Causes self to use its Display implementation when
Debug-formatted.
fn fmt_lower_exp(self) -> FmtLowerExp<Self> where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self> where
Self: LowerExp,
Causes self to use its LowerExp implementation when
Debug-formatted.
fn fmt_lower_hex(self) -> FmtLowerHex<Self> where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self> where
Self: LowerHex,
Causes self to use its LowerHex implementation when
Debug-formatted.
Causes self to use its Octal implementation when Debug-formatted.
fn fmt_pointer(self) -> FmtPointer<Self> where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self> where
Self: Pointer,
Causes self to use its Pointer implementation when
Debug-formatted.
fn fmt_upper_exp(self) -> FmtUpperExp<Self> where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self> where
Self: UpperExp,
Causes self to use its UpperExp implementation when
Debug-formatted.
fn fmt_upper_hex(self) -> FmtUpperHex<Self> where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self> where
Self: UpperHex,
Causes self to use its UpperHex implementation when
Debug-formatted.