Derive Macro VariantsStruct

Source
#[derive(VariantsStruct)]
{
    // Attributes available to this derive:
    #[struct_bounds]
    #[struct_derive]
    #[struct_name]
    #[field_name]
    #[struct_attr]
}
Expand description

Derives the variants struct and impl.