1
2
3
4
5
6
7
8
9
use super::options::MutConfig;

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