[][src]Trait lain::traits::Fixup

pub trait Fixup {
    fn fixup<R: Rng>(&mut self, mutator: &mut Mutator<R>);
}

Trait used for performing fixups of a data structure when generating a new struct using NewFuzzed.

This trait is useful when you may have dependent data types, such as a "command" struct that needs to correspond with an enum.

Required methods

fn fixup<R: Rng>(&mut self, mutator: &mut Mutator<R>)

Loading content...

Implementors

impl<T> Fixup for T[src]

Loading content...