Macro iterable_enum

Source
macro_rules! iterable_enum {
    ($Name:ident { $($Variant:ident,)* }) => { ... };
}
Expand description

Define an iterable enum: an enum where each variant is an atomic type (i.e., has no paramters), and the variants can be iterated over with an Enum::ALL const