Enum Ordinalize Derive ==================== [![CI](https://github.com/magiclen/enum-ordinalize/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/enum-ordinalize/actions/workflows/ci.yml) This crate provides a procedural macro that enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value. See the [`enum-ordinalize`](https://crates.io/crates/enum-ordinalize) crate. ## Crates.io https://crates.io/crates/enum-ordinalize ## Documentation https://docs.rs/enum-ordinalize ## License [MIT](LICENSE)