Crates.io | enum-ordinalize-derive |
lib.rs | enum-ordinalize-derive |
version | 4.3.1 |
source | src |
created_at | 2023-11-20 05:58:33.624833 |
updated_at | 2023-12-15 03:24:01.566184 |
description | 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. |
homepage | https://magiclen.org/enum-ordinalize |
repository | https://github.com/magiclen/enum-ordinalize |
max_upload_size | |
id | 1041732 |
size | 46,583 |
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
crate.
https://crates.io/crates/enum-ordinalize
https://docs.rs/enum-ordinalize