Trait Mutation
glitchconsole::mutation
pub trait Mutation: Display { fn configure(&mut self, config: Box<&dyn MutConfig>); fn mutate(&mut self, data: &mut [u8]); }
A Mutation trait to group every kind of Mutation.
Mutation
Must also implement the Display trait.
Display
fn configure(&mut self, config: Box<&dyn MutConfig>)
fn mutate(&mut self, data: &mut [u8])