Struct puffin::fuzzer::stages::PuffinScheduledMutator
source · pub struct PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,{
mutations: MT,
phantom: PhantomData<(I, S)>,
max_mutations_per_iteration: u64,
}
Expand description
A [Mutator
] that schedules one of the embedded mutations on each call.
Fields§
§mutations: MT
§phantom: PhantomData<(I, S)>
§max_mutations_per_iteration: u64
Implementations§
source§impl<I, MT, S> PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
impl<I, MT, S> PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
sourcepub const fn new(mutations: MT, max_mutations_per_iteration: u64) -> Self
pub const fn new(mutations: MT, max_mutations_per_iteration: u64) -> Self
Create a new PuffinScheduledMutator
instance specifying mutations
Trait Implementations§
source§impl<I, MT, S> ComposedByMutations<I, MT, S> for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
impl<I, MT, S> ComposedByMutations<I, MT, S> for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
source§impl<I, MT, S> Debug for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
impl<I, MT, S> Debug for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
source§impl<I, MT, S> Mutator<I, S> for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
impl<I, MT, S> Mutator<I, S> for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
source§impl<I, MT, S> Named for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
impl<I, MT, S> Named for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
source§impl<I, MT, S> ScheduledMutator<I, MT, S> for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
impl<I, MT, S> ScheduledMutator<I, MT, S> for PuffinScheduledMutator<I, MT, S>where
I: Input,
MT: MutatorsTuple<I, S>,
S: HasRand,
Auto Trait Implementations§
impl<I, MT, S> Freeze for PuffinScheduledMutator<I, MT, S>where
MT: Freeze,
impl<I, MT, S> RefUnwindSafe for PuffinScheduledMutator<I, MT, S>
impl<I, MT, S> Send for PuffinScheduledMutator<I, MT, S>
impl<I, MT, S> Sync for PuffinScheduledMutator<I, MT, S>
impl<I, MT, S> Unpin for PuffinScheduledMutator<I, MT, S>
impl<I, MT, S> UnwindSafe for PuffinScheduledMutator<I, MT, S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.