#[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.
#[derive(VariantsStruct)]
{
// Attributes available to this derive:
#[struct_bounds]
#[struct_derive]
#[struct_name]
#[field_name]
#[struct_attr]
}
Derives the variants struct and impl.