https://github.com/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.
https://github.com/magiclen/enum-ordinalize
rust
Last synced: 8 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/magiclen/enum-ordinalize
- Owner: magiclen
- License: mit
- Created: 2018-09-02T12:24:57.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-24T00:41:36.000Z (over 2 years ago)
- Last Synced: 2025-09-21T10:51:42.436Z (9 months ago)
- Topics: rust
- Language: Rust
- Homepage:
- Size: 110 KB
- Stars: 14
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
See [enum-ordinalize/README.md](enum-ordinalize/README.md).