pub struct GrimoireStringReplacementMutator {}
Expand description
Replace matching tokens with others from the tokens metadata
Implementations
sourceimpl GrimoireStringReplacementMutator
impl GrimoireStringReplacementMutator
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new GrimoireExtensionMutator
.
Trait Implementations
sourceimpl Default for GrimoireStringReplacementMutator
impl Default for GrimoireStringReplacementMutator
sourcefn default() -> GrimoireStringReplacementMutator
fn default() -> GrimoireStringReplacementMutator
Returns the “default value” for a type. Read more
sourceimpl<S> Mutator<GeneralizedInput, S> for GrimoireStringReplacementMutator where
S: HasMetadata + HasRand,
impl<S> Mutator<GeneralizedInput, S> for GrimoireStringReplacementMutator where
S: HasMetadata + HasRand,
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 GrimoireStringReplacementMutator
impl Send for GrimoireStringReplacementMutator
impl Sync for GrimoireStringReplacementMutator
impl Unpin for GrimoireStringReplacementMutator
impl UnwindSafe for GrimoireStringReplacementMutator
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.