Enum
Also written: enumeration, enums
A type whose value must be exactly one of a fixed list of choices called variants, like a `Grind` that is `WholeBean`, `Espresso`, `Filter` or `FrenchPress`.
Also written: enumeration, enums
A type whose value must be exactly one of a fixed list of choices called variants, like a `Grind` that is `WholeBean`, `Espresso`, `Filter` or `FrenchPress`.