Crate frunk_enum_core[−][src]
This crate augments the frunk
crate with extra functionallity to allow transmogrification
between enums with similar structures.
This crate specifically defines the data structures used in the generic representation of an
enum, the frunk-enum-derive
crate adds a proc-macro to auto-generate the per-type code needed
to take advantage of this core function.
Macros
variant | A macro to ease the creation of |
Structs
Variant | A generic representation of an enum variant. This holds the ident of the variant at both type and value levels. |
Enums
HEither | A building block for a generic enum. The “additive-type” mirror for |
Void | An uninhabited type. |