Trait fmt_ext::DebugExt[][src]

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

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

Provided methods

Returns a wrapper that implements Debug via CustomDebug.

Implementors