[−][src]Derive Macro enum_default::EnumDefault
#[derive(EnumDefault)] { // Attributes available to this derive: #[default] }
EnumDefault provides a std::Default implementation for enums
by using the first item as the return of
#[derive(EnumDefault)] { // Attributes available to this derive: #[default] }
EnumDefault provides a std::Default implementation for enums
by using the first item as the return of