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);