pretty_via_to_string

Macro pretty_via_to_string 

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

Generate an implementation of PrettyPrint for a given type by delegating to alloc::string::ToString.

§Example

pretty_via_to_string!(Foo);