Enum variants stored in Maps.
Provides different kinds of map-equivalent types to store enum variants into. As those data structures are maps, they store one value of each variant. All Maps are [serde::Serialize]-able and [serde::Deserialize]-able
Those maps can be generated easily using the derive macros from [variant_map_derive].
[variant_map_derive] provides a derive macro for a StructMap (a struct type with a field per enum variant).
[variant_map_derive] can be included using the derive feature on [variant_map][crate]
This crate also provide simple [macros] to lighten the syntax.
Example
use VariantStore;
For more customizability of the [Map][common::MapValue::Map] check out the [variant_map_derive] crate documentation
For more detailed examples check out the example project on this crates' repo