pub trait DisplayExt {
type Displayable: Display;
// Required method
fn display_ext(&self) -> Self::Displayable;
}
Expand description
Extension trait to allow user-friendly formatting.
Required Associated Types§
type Displayable: Display
Required Methods§
Sourcefn display_ext(&self) -> Self::Displayable
fn display_ext(&self) -> Self::Displayable
Returns a Display
-able variant..