Expand description

Defines a trait index enums over an array using it’s discriminant

Traits§

  • Allows to get a discriminant from an enum’s variant to an usize, and also get the same variant from said discriminant, for example, having the following implementation:

Functions§