Crate fmt_ext

Source
Expand description

A simple interface for extending external types with custom implementations of Debug and Display traits.

All examples are in this directory.

Modules§

debug
Traits that provide a custom Debug.
display
Traits that provide a custom Display.

Structs§

Carrier
A type that make possible formatting for CustomDebug and CustomDisplay implementors.

Traits§

DebugExt
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.
DisplayExt
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.