pub struct Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> { /* private fields */ }
Expand description
A TupleMutator
for types that have a 10-tuple structure
Implementations
sourceimpl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9>
impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9>
Trait Implementations
sourceimpl<M0: Default, M1: Default, M2: Default, M3: Default, M4: Default, M5: Default, M6: Default, M7: Default, M8: Default, M9: Default> Default for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9>
impl<M0: Default, M1: Default, M2: Default, M3: Default, M4: Default, M5: Default, M6: Default, M7: Default, M8: Default, M9: Default> Default for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9>
sourcefn default() -> Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9>
fn default() -> Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9>
Returns the “default value” for a type. Read more
sourceimpl<T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> TupleMutator<T, Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>> for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> 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>,
T6: Clone + 'static,
M6: Mutator<T6>,
T7: Clone + 'static,
M7: Mutator<T7>,
T8: Clone + 'static,
M8: Mutator<T8>,
T9: Clone + 'static,
M9: Mutator<T9>,
T: TupleStructure<Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>>,
impl<T, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> TupleMutator<T, Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>> for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> 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>,
T6: Clone + 'static,
M6: Mutator<T6>,
T7: Clone + 'static,
M7: Mutator<T7>,
T8: Clone + 'static,
M8: Mutator<T8>,
T9: Clone + 'static,
M9: Mutator<T9>,
T: TupleStructure<Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>>,
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, M6, M7, M8, M9> !RefUnwindSafe for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9>
impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> Send for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> where
M0: Send,
M1: Send,
M2: Send,
M3: Send,
M4: Send,
M5: Send,
M6: Send,
M7: Send,
M8: Send,
M9: Send,
impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> !Sync for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9>
impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> Unpin for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> where
M0: Unpin,
M1: Unpin,
M2: Unpin,
M3: Unpin,
M4: Unpin,
M5: Unpin,
M6: Unpin,
M7: Unpin,
M8: Unpin,
M9: Unpin,
impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> UnwindSafe for Tuple10Mutator<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9> where
M0: UnwindSafe,
M1: UnwindSafe,
M2: UnwindSafe,
M3: UnwindSafe,
M4: UnwindSafe,
M5: UnwindSafe,
M6: UnwindSafe,
M7: UnwindSafe,
M8: UnwindSafe,
M9: 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