Macro surgeshaper_asym::imports::imports::enhanced_enum [−]
macro_rules! enhanced_enum {
($name : ident $(,) ? { $($variants : ident $(,) ?) * }) => { ... };
}
Expand description
Define a new Enhanced Enum.
Usage: enhanced_enum!( EnumName { List, Of, Variants } );
See the documentation on the generated types for the full documentation of enhanced enums and associated arrays.