variant-map-derive
Enum variants stored in Maps.
Provides derive macros for variant_map
Includes a StructMap which is a struct with a field per variant of the enum
Pro: This struct has instant access to the fields (compared to the other Maps that need a lookup)
Con: Restricted API
Example
use VariantStore;
For more detailed examples check out the example project on this crates' repo