Trait fmt_ext::DisplayExt[][src]

pub trait DisplayExt<D> {
    fn display(&self) -> Carrier<'_, Self, D> { ... }
}
Expand description

A trait extension which adds a method like Path::display does this for any type. Its method returns an object that implements Display and can be used for formatting.

Provided methods

Returns a wrapper that implements Display via CustomDisplay.

Implementors