cenum_utils provides a minimal set of utilities for querying certain properties of enums in const contexts.
Currently, available features include:
- Accessing the number of variants in an enum.
- Accessing the discriminants for all of an enum's variants.
Example
use ;
const