[][src]Crate num_variants

Add an associated constant to an enum describing the number of variants it has.

Derive Macros

NumVariants

Derives an associated constant with the number of variants this enum has.