pub trait BasicEnumStructure {
fn from_variant_index(item_index: usize) -> Self;
fn get_variant_index(&self) -> usize;
}
Expand description
Trait used by the DefaultMutator derive macro for enums without associated data
pub trait BasicEnumStructure {
fn from_variant_index(item_index: usize) -> Self;
fn get_variant_index(&self) -> usize;
}
Trait used by the DefaultMutator derive macro for enums without associated data