A Rust macro that asserts that all variants of an enum are as provided in the macro invocation.
📖 Get the documentation comment for structs, enums and unions, in a zero-cost fashion.
Assert the order of Rust enum variants.
Procedural derive macro to generate boilerplate on unit variants enum types
Derive helper methods for enum variants that are familiar from `std::option::Option` & `std::result::Result` such as `unwrap_or` or `and_then`.
Determining that enumerations only have Variant equal
Extract representations of Serde data formats
Extract representations of Serde data formats
Enum helper derive: auto-generate is_<variant>() methods for enums
procedural macro that enhances enums with additional methods and conversions
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.
Derive macro to get the name of a struct, enum or enum variant