Crate enum_unwrapper
source ·Expand description
Enum Unwrapper
enum_unwrapper
is a lightweight procedural macro for “unwrapping” enum
s into their inner types when the variant is known through automatic implementation of TryFrom
.
enum_unrapper
does this by allowing the user to add a procedural macro attribute, unique_try_froms
to enum
definitions.
For more information and examples, check the attribute’s documentation.
Attribute Macros
- Unique TryFroms