Macro tato::palette_enum
source · macro_rules! palette_enum { ($name:ident { $($variants:ident),* $(,)? }) => { ... }; }
Expand description
Generates a new Enum type capable of indexing all Palettes.
macro_rules! palette_enum { ($name:ident { $($variants:ident),* $(,)? }) => { ... }; }
Generates a new Enum type capable of indexing all Palettes.