Derive Macro fmt_derive::Display
source · #[derive(Display)]
{
// Attributes available to this derive:
#[fmt]
#[display]
}
Expand description
Derive implementations of Display for arbitrary structs and enums (unions are supported only with a
top-level format directive).. useing fmt_derive::Display, will also pull in the
core::fmt::Display/[std::fmt::Display] trait (but the macro of the same name will be replaced with this
one).