pub struct GrimoireExtensionMutator { /* private fields */ }
Expand description
Extend the generalized input with another random one from the corpus
Implementations
sourceimpl GrimoireExtensionMutator
impl GrimoireExtensionMutator
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new GrimoireExtensionMutator
.
Trait Implementations
sourceimpl Debug for GrimoireExtensionMutator
impl Debug for GrimoireExtensionMutator
sourceimpl Default for GrimoireExtensionMutator
impl Default for GrimoireExtensionMutator
sourcefn default() -> GrimoireExtensionMutator
fn default() -> GrimoireExtensionMutator
Returns the “default value” for a type. Read more
sourceimpl<S> Mutator<GeneralizedInput, S> for GrimoireExtensionMutator where
S: HasMetadata + HasRand + HasCorpus<GeneralizedInput>,
impl<S> Mutator<GeneralizedInput, S> for GrimoireExtensionMutator where
S: HasMetadata + HasRand + HasCorpus<GeneralizedInput>,
sourcefn mutate(
&mut self,
state: &mut S,
input: &mut GeneralizedInput,
_stage_idx: i32
) -> Result<MutationResult, Error>
fn mutate(
&mut self,
state: &mut S,
input: &mut GeneralizedInput,
_stage_idx: i32
) -> Result<MutationResult, Error>
Mutate a given input
Auto Trait Implementations
impl RefUnwindSafe for GrimoireExtensionMutator
impl Send for GrimoireExtensionMutator
impl Sync for GrimoireExtensionMutator
impl Unpin for GrimoireExtensionMutator
impl UnwindSafe for GrimoireExtensionMutator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.