enum-ordinalize-derive

Crates.ioenum-ordinalize-derive
lib.rsenum-ordinalize-derive
version4.3.1
sourcesrc
created_at2023-11-20 05:58:33.624833
updated_at2023-12-15 03:24:01.566184
descriptionThis 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.
homepagehttps://magiclen.org/enum-ordinalize
repositoryhttps://github.com/magiclen/enum-ordinalize
max_upload_size
id1041732
size46,583
Magic Len (Ron Li) (magiclen)

documentation

README

Enum Ordinalize Derive

CI

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.

Crates.io

https://crates.io/crates/enum-ordinalize

Documentation

https://docs.rs/enum-ordinalize

License

MIT

Commit count: 76

cargo fmt