pub struct Tuple6Mutator<M0, M1, M2, M3, M4, M5> { /* private fields */ }
Expand description
A TupleMutator
for types that have a 6-tuple structure
Implementations
sourceimpl<M0, M1, M2, M3, M4, M5> Tuple6Mutator<M0, M1, M2, M3, M4, M5>
impl<M0, M1, M2, M3, M4, M5> Tuple6Mutator<M0, M1, M2, M3, M4, M5>
Trait Implementations
sourceimpl<M0: Default, M1: Default, M2: Default, M3: Default, M4: Default, M5: Default> Default for Tuple6Mutator<M0, M1, M2, M3, M4, M5>
impl<M0: Default, M1: Default, M2: Default, M3: Default, M4: Default, M5: Default> Default for Tuple6Mutator<M0, M1, M2, M3, M4, M5>
sourcefn default() -> Tuple6Mutator<M0, M1, M2, M3, M4, M5>
fn default() -> Tuple6Mutator<M0, M1, M2, M3, M4, M5>
Returns the “default value” for a type. Read more
sourceimpl<T, T0, T1, T2, T3, T4, T5, M0, M1, M2, M3, M4, M5> TupleMutator<T, Tuple6<T0, T1, T2, T3, T4, T5>> for Tuple6Mutator<M0, M1, M2, M3, M4, M5> where
T: Clone + 'static,
T0: Clone + 'static,
M0: Mutator<T0>,
T1: Clone + 'static,
M1: Mutator<T1>,
T2: Clone + 'static,
M2: Mutator<T2>,
T3: Clone + 'static,
M3: Mutator<T3>,
T4: Clone + 'static,
M4: Mutator<T4>,
T5: Clone + 'static,
M5: Mutator<T5>,
T: TupleStructure<Tuple6<T0, T1, T2, T3, T4, T5>>,
impl<T, T0, T1, T2, T3, T4, T5, M0, M1, M2, M3, M4, M5> TupleMutator<T, Tuple6<T0, T1, T2, T3, T4, T5>> for Tuple6Mutator<M0, M1, M2, M3, M4, M5> where
T: Clone + 'static,
T0: Clone + 'static,
M0: Mutator<T0>,
T1: Clone + 'static,
M1: Mutator<T1>,
T2: Clone + 'static,
M2: Mutator<T2>,
T3: Clone + 'static,
M3: Mutator<T3>,
T4: Clone + 'static,
M4: Mutator<T4>,
T5: Clone + 'static,
M5: Mutator<T5>,
T: TupleStructure<Tuple6<T0, T1, T2, T3, T4, T5>>,
type Cache: Clone
type MutationStep: Clone
type ArbitraryStep: Clone
type UnmutateToken
fn default_arbitrary_step(&self) -> Self::ArbitraryStep
fn complexity<'a>(&self, value: TupleKind::Ref<'a>, cache: &'a Self::Cache) -> f64
fn is_valid<'a>(&self, value: TupleKind::Ref<'a>) -> bool
fn validate_value<'a>(&self, value: TupleKind::Ref<'a>) -> Option<Self::Cache>
fn default_mutation_step<'a>(
&self,
value: TupleKind::Ref<'a>,
cache: &'a Self::Cache
) -> Self::MutationStep
fn global_search_space_complexity(&self) -> f64
fn max_complexity(&self) -> f64
fn min_complexity(&self) -> f64
fn ordered_arbitrary(
&self,
step: &mut Self::ArbitraryStep,
max_cplx: f64
) -> Option<(T, f64)>
fn random_arbitrary(&self, max_cplx: f64) -> (T, f64)
fn ordered_mutate<'a>(
&self,
value: TupleKind::Mut<'a>,
cache: &'a mut Self::Cache,
step: &'a mut Self::MutationStep,
subvalue_provider: &dyn SubValueProvider,
max_cplx: f64
) -> Option<(Self::UnmutateToken, f64)>
fn random_mutate<'a>(
&self,
value: TupleKind::Mut<'a>,
cache: &'a mut Self::Cache,
max_cplx: f64
) -> (Self::UnmutateToken, f64)
fn unmutate<'a>(
&self,
value: TupleKind::Mut<'a>,
cache: &'a mut Self::Cache,
t: Self::UnmutateToken
)
fn visit_subvalues<'a>(
&self,
value: TupleKind::Ref<'a>,
cache: &'a Self::Cache,
visit: &mut dyn FnMut(&'a dyn Any, f64)
)
Auto Trait Implementations
impl<M0, M1, M2, M3, M4, M5> !RefUnwindSafe for Tuple6Mutator<M0, M1, M2, M3, M4, M5>
impl<M0, M1, M2, M3, M4, M5> Send for Tuple6Mutator<M0, M1, M2, M3, M4, M5> where
M0: Send,
M1: Send,
M2: Send,
M3: Send,
M4: Send,
M5: Send,
impl<M0, M1, M2, M3, M4, M5> !Sync for Tuple6Mutator<M0, M1, M2, M3, M4, M5>
impl<M0, M1, M2, M3, M4, M5> Unpin for Tuple6Mutator<M0, M1, M2, M3, M4, M5> where
M0: Unpin,
M1: Unpin,
M2: Unpin,
M3: Unpin,
M4: Unpin,
M5: Unpin,
impl<M0, M1, M2, M3, M4, M5> UnwindSafe for Tuple6Mutator<M0, M1, M2, M3, M4, M5> where
M0: UnwindSafe,
M1: UnwindSafe,
M2: UnwindSafe,
M3: UnwindSafe,
M4: UnwindSafe,
M5: UnwindSafe,
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