Skip to main content

pretty_via_display

Macro pretty_via_display 

macro_rules! pretty_via_display {
    ($name:ty) => { ... };
}
Expand description

Generate an implementation of PrettyPrint for a given type by delegating to core::fmt::Display.

§Example

pretty_via_to_display!(Foo);