Contains the macro for matchable enums.
A macro that provides the option to bin enum attribute to match-statements. This makes it easier to convert values into enums.
Fallible pattern matching with a function-like syntax
A macro for unwrapping an enum value into an Option.
Provides a declarative macro, that matches an expression to any of the patterns and executes the same expression arm for any match.
Match on patterns commutatively, reducing the use of duplicated patterns. ↔️
Types and helpers used for the matched enum macro.
A macro to simulate sigma types with enums.
Procedural macros for `sigma_enum`.
Rules and validation for concrete types
Match enum variants to #[handler] functions without boilerplate
Define grouped enums with ergonomic pattern matching