/// An index type for enum variants. This ranges from 0 to `variants.len()`, whereas `EnumVariantId`
/// An index type for enum variants. This ranges from 0 to `variants.len()`, whereas `EnumVariantId`