Crate enumizer

Crate enumizer 

Source
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.