pub struct GramatronSpliceMutator;
Expand description
A Mutator
that mutates a GramatronInput
by splicing inputs together.
Implementations
sourceimpl GramatronSpliceMutator
impl GramatronSpliceMutator
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new GramatronSpliceMutator
.
Trait Implementations
sourceimpl Debug for GramatronSpliceMutator
impl Debug for GramatronSpliceMutator
sourceimpl Default for GramatronSpliceMutator
impl Default for GramatronSpliceMutator
sourcefn default() -> GramatronSpliceMutator
fn default() -> GramatronSpliceMutator
Returns the “default value” for a type. Read more
sourceimpl<S> Mutator<GramatronInput, S> for GramatronSpliceMutator where
S: HasRand + HasCorpus<GramatronInput> + HasMetadata,
impl<S> Mutator<GramatronInput, S> for GramatronSpliceMutator where
S: HasRand + HasCorpus<GramatronInput> + HasMetadata,
sourcefn mutate(
&mut self,
state: &mut S,
input: &mut GramatronInput,
_stage_idx: i32
) -> Result<MutationResult, Error>
fn mutate(
&mut self,
state: &mut S,
input: &mut GramatronInput,
_stage_idx: i32
) -> Result<MutationResult, Error>
Mutate a given input
Auto Trait Implementations
impl RefUnwindSafe for GramatronSpliceMutator
impl Send for GramatronSpliceMutator
impl Sync for GramatronSpliceMutator
impl Unpin for GramatronSpliceMutator
impl UnwindSafe for GramatronSpliceMutator
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.