Derive Macro SplitStorage
#[derive(SplitStorage)]
Expand description
Derive the SplitStorage
trait for an enum so that its discriminant and payload can be stored
separately. Structs which store such enums can use the #[split_enum_storage::container]
macro
to take advantage of the generated trait implementation.