Struct puffin::fuzzer::mutations::GenerateMutator
source · pub struct GenerateMutator<S, PT: ProtocolTypes>where
S: HasRand,{
mutation_counter: u64,
refresh_zoo_after: u64,
constraints: TermConstraints,
zoo: Option<TermZoo<PT>>,
signature: &'static Signature<PT>,
phantom_s: PhantomData<S>,
}
Expand description
GENERATE: Generates a previously-unseen term using a term zoo
Fields§
§mutation_counter: u64
§refresh_zoo_after: u64
§constraints: TermConstraints
§zoo: Option<TermZoo<PT>>
§signature: &'static Signature<PT>
§phantom_s: PhantomData<S>
Implementations§
source§impl<S, PT: ProtocolTypes> GenerateMutator<S, PT>where
S: HasRand,
impl<S, PT: ProtocolTypes> GenerateMutator<S, PT>where
S: HasRand,
Trait Implementations§
source§impl<S, PT: ProtocolTypes> Mutator<Trace<PT>, S> for GenerateMutator<S, PT>where
S: HasRand,
impl<S, PT: ProtocolTypes> Mutator<Trace<PT>, S> for GenerateMutator<S, PT>where
S: HasRand,
source§impl<S, PT: ProtocolTypes> Named for GenerateMutator<S, PT>where
S: HasRand,
impl<S, PT: ProtocolTypes> Named for GenerateMutator<S, PT>where
S: HasRand,
Auto Trait Implementations§
impl<S, PT> Freeze for GenerateMutator<S, PT>
impl<S, PT> !RefUnwindSafe for GenerateMutator<S, PT>
impl<S, PT> Send for GenerateMutator<S, PT>
impl<S, PT> Sync for GenerateMutator<S, PT>
impl<S, PT> Unpin for GenerateMutator<S, PT>
impl<S, PT> !UnwindSafe for GenerateMutator<S, PT>
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.