Expand description
This crate provides easy to use macros, that allow the user to create enum types that are equivalent and convertible to standard library enum types, with custom variant names.
See the examples module for examples of the generated types.
Modules§
- examples
- This module contains examples of generated types, and their respective functions.
Macros§
- alias_
either - Creates an Either-like enum with custom variant names.
- alias_
option - Creates an Option-like enum with custom variant names.
- alias_
result - Creates a Result-like enum with custom variant names.