macro_rules! impl_display_fmt {
    ($struct_name:ident, $format:expr) => { ... };
}
Expand description

Implement std::display::Display with a custom format Parameters:

  • struct_name: The struct to extend.
  • format: The format string to use.