Skip to main content

Crate enum_helper_derive

Crate enum_helper_derive 

Source
Expand description

Procedural macro implementations for enum-helper.

You normally depend on enum-helper (which re-exports these macros) rather than using this crate directly.

Derive Macrosยง

EnumAll
Generate an array of all variants and a variant count.
EnumKind
Generate a unit kind enum from a data-carrying enum.
EnumStr
Generate string conversion for an enum.