Struct fuzzcheck::mutators::vector::vec_mutation::VectorMutation
source · [−]pub struct VectorMutation { /* private fields */ }
Trait Implementations
sourceimpl Default for VectorMutation
impl Default for VectorMutation
sourceimpl<T, M> Mutation<Vec<T, Global>, VecMutator<T, M>> for VectorMutation where
T: Clone + 'static,
M: Mutator<T>,
impl<T, M> Mutation<Vec<T, Global>, VecMutator<T, M>> for VectorMutation where
T: Clone + 'static,
M: Mutator<T>,
type RandomStep = VectorMutationRandomStep<T, M>
type Step = VectorMutationStep<T, M>
type Concrete<'a> = ConcreteVectorMutation<'a, T, M>
type Revert = RevertVectorMutation<T, M>
fn default_random_step(
&self,
mutator: &VecMutator<T, M>,
value: &Vec<T>
) -> Option<Self::RandomStep>
fn random<'a>(
mutator: &VecMutator<T, M>,
value: &Vec<T>,
cache: &<VecMutator<T, M> as Mutator<Vec<T>>>::Cache,
step: &Self::RandomStep,
max_cplx: f64
) -> Self::Concrete<'a>
fn default_step(
&self,
mutator: &VecMutator<T, M>,
value: &Vec<T>,
cache: &<VecMutator<T, M> as Mutator<Vec<T>>>::Cache
) -> Option<Self::Step>
fn from_step<'a>(
mutator: &VecMutator<T, M>,
value: &Vec<T>,
cache: &<VecMutator<T, M> as Mutator<Vec<T>>>::Cache,
step: &'a mut Self::Step,
subvalue_provider: &dyn SubValueProvider,
max_cplx: f64
) -> Option<Self::Concrete<'a>>
fn apply<'a>(
mutation: Self::Concrete<'a>,
mutator: &VecMutator<T, M>,
value: &mut Vec<T>,
cache: &mut <VecMutator<T, M> as Mutator<Vec<T>>>::Cache,
subvalue_provider: &dyn SubValueProvider,
max_cplx: f64
) -> (Self::Revert, f64)
Auto Trait Implementations
impl RefUnwindSafe for VectorMutation
impl Send for VectorMutation
impl Sync for VectorMutation
impl Unpin for VectorMutation
impl UnwindSafe for VectorMutation
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