magiclen / enum-ordinalize

This library enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value.
14Updated last year

Alternatives and similar repositories for enum-ordinalize:

Users that are interested in enum-ordinalize are comparing it to the libraries listed below