pub struct Tuple3<T0: 'static, T1: 'static, T2: 'static> { /* private fields */ }
Trait Implementations§
Source§impl<T0: 'static, T1: 'static, T2: 'static> RefTypes for Tuple3<T0, T1, T2>
impl<T0: 'static, T1: 'static, T2: 'static> RefTypes for Tuple3<T0, T1, T2>
type Owned = (T0, T1, T2)
type Ref<'a> = (&'a T0, &'a T1, &'a T2)
type Mut<'a> = (&'a mut T0, &'a mut T1, &'a mut T2)
fn get_ref_from_mut<'a>(v: &'a Self::Mut<'a>) -> Self::Ref<'a>
Source§impl<T, T0, T1, T2, M0, M1, M2> TupleMutator<T, Tuple3<T0, T1, T2>> for Tuple3Mutator<T0, T1, T2, M0, M1, M2>
impl<T, T0, T1, T2, M0, M1, M2> TupleMutator<T, Tuple3<T0, T1, T2>> for Tuple3Mutator<T0, T1, T2, M0, M1, M2>
type Cache = Cache<<M0 as Mutator<T0>>::Cache, <M1 as Mutator<T1>>::Cache, <M2 as Mutator<T2>>::Cache>
type MutationStep = MutationStep<<M0 as Mutator<T0>>::MutationStep, <M1 as Mutator<T1>>::MutationStep, <M2 as Mutator<T2>>::MutationStep>
type ArbitraryStep = ArbitraryStep<<M0 as Mutator<T0>>::ArbitraryStep, <M1 as Mutator<T1>>::ArbitraryStep, <M2 as Mutator<T2>>::ArbitraryStep>
type UnmutateToken = UnmutateToken<<M0 as Mutator<T0>>::UnmutateToken, <M1 as Mutator<T1>>::UnmutateToken, <M2 as Mutator<T2>>::UnmutateToken>
fn max_complexity(&self) -> f64
fn min_complexity(&self) -> f64
fn complexity<'a>( &'a self, _value: (&'a T0, &'a T1, &'a T2), cache: &'a Self::Cache, ) -> f64
fn cache_from_value<'a>( &'a self, value: (&'a T0, &'a T1, &'a T2), ) -> Self::Cache
fn initial_step_from_value<'a>( &'a self, value: (&'a T0, &'a T1, &'a T2), ) -> Self::MutationStep
fn ordered_arbitrary( &self, step: &mut Self::ArbitraryStep, max_cplx: f64, ) -> Option<(T, Self::Cache)>
fn random_arbitrary(&self, max_cplx: f64) -> (T, Self::Cache)
fn ordered_mutate<'a>( &'a self, value: (&'a mut T0, &'a mut T1, &'a mut T2), cache: &'a mut Self::Cache, step: &'a mut Self::MutationStep, max_cplx: f64, ) -> Option<Self::UnmutateToken>
fn random_mutate<'a>( &'a self, value: (&'a mut T0, &'a mut T1, &'a mut T2), cache: &'a mut Self::Cache, max_cplx: f64, ) -> Self::UnmutateToken
fn unmutate<'a>( &'a self, value: (&'a mut T0, &'a mut T1, &'a mut T2), cache: &'a mut Self::Cache, t: Self::UnmutateToken, )
Source§impl<T0: 'static, T1: 'static, T2: 'static> TupleStructure<Tuple3<T0, T1, T2>> for (T0, T1, T2)
impl<T0: 'static, T1: 'static, T2: 'static> TupleStructure<Tuple3<T0, T1, T2>> for (T0, T1, T2)
fn get_ref<'a>(&'a self) -> (&'a T0, &'a T1, &'a T2)
fn get_mut<'a>(&'a mut self) -> (&'a mut T0, &'a mut T1, &'a mut T2)
fn new(t: (T0, T1, T2)) -> Self
Auto Trait Implementations§
impl<T0, T1, T2> Freeze for Tuple3<T0, T1, T2>
impl<T0, T1, T2> RefUnwindSafe for Tuple3<T0, T1, T2>
impl<T0, T1, T2> Send for Tuple3<T0, T1, T2>
impl<T0, T1, T2> Sync for Tuple3<T0, T1, T2>
impl<T0, T1, T2> Unpin for Tuple3<T0, T1, T2>
impl<T0, T1, T2> UnwindSafe for Tuple3<T0, T1, T2>
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