pub struct OnlyChooseLength;Trait Implementations§
Source§impl<T, M> Mutation<Vec<T>, VecMutator<T, M>> for OnlyChooseLength
impl<T, M> Mutation<Vec<T>, VecMutator<T, M>> for OnlyChooseLength
type RandomStep = OnlyChooseLengthRandomStep
type Step = OnlyChooseLengthStep
type Concrete<'a> = ConcreteOnlyChooseLength
type Revert = RevertOnlyChooseLength<T>
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, _random_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 Freeze for OnlyChooseLength
impl RefUnwindSafe for OnlyChooseLength
impl Send for OnlyChooseLength
impl Sync for OnlyChooseLength
impl Unpin for OnlyChooseLength
impl UnwindSafe for OnlyChooseLength
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