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.
正在读取项目信息…
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.