pub struct Tuple2<T0: 'static, T1: 'static> { /* private fields */ }
Expand description
Trait Implementations
sourceimpl<T0: 'static, T1: 'static> RefTypes for Tuple2<T0, T1>
impl<T0: 'static, T1: 'static> RefTypes for Tuple2<T0, T1>
type Owned = (T0, T1)
type Ref<'__fuzzcheck_derive_lt> = (&'__fuzzcheck_derive_lt T0, &'__fuzzcheck_derive_lt T1)
type Mut<'__fuzzcheck_derive_lt> = (&'__fuzzcheck_derive_lt mut T0, &'__fuzzcheck_derive_lt mut T1)
fn get_ref_from_mut<'__fuzzcheck_derive_lt>(
v: &'__fuzzcheck_derive_lt Self::Mut<'__fuzzcheck_derive_lt>
) -> Self::Ref<'__fuzzcheck_derive_lt>
sourceimpl<T, T0, T1, M0, M1> TupleMutator<T, Tuple2<T0, T1>> for Tuple2Mutator<M0, M1> where
T: Clone + 'static,
T0: Clone + 'static,
M0: Mutator<T0>,
T1: Clone + 'static,
M1: Mutator<T1>,
T: TupleStructure<Tuple2<T0, T1>>,
impl<T, T0, T1, M0, M1> TupleMutator<T, Tuple2<T0, T1>> for Tuple2Mutator<M0, M1> where
T: Clone + 'static,
T0: Clone + 'static,
M0: Mutator<T0>,
T1: Clone + 'static,
M1: Mutator<T1>,
T: TupleStructure<Tuple2<T0, T1>>,
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)
)
sourceimpl<Idx> TupleStructure<Tuple2<Idx, Idx>> for Range<Idx> where
Idx: 'static,
impl<Idx> TupleStructure<Tuple2<Idx, Idx>> for Range<Idx> where
Idx: 'static,
fn get_ref<'__fuzzcheck_derive_lt>(
&'__fuzzcheck_derive_lt self
) -> (&'__fuzzcheck_derive_lt Idx, &'__fuzzcheck_derive_lt Idx)
fn get_mut<'__fuzzcheck_derive_lt>(
&'__fuzzcheck_derive_lt mut self
) -> (&'__fuzzcheck_derive_lt mut Idx, &'__fuzzcheck_derive_lt mut Idx)
fn new(t: (Idx, Idx)) -> Self
sourceimpl<T0: 'static, T1: 'static> TupleStructure<Tuple2<T0, T1>> for (T0, T1)
impl<T0: 'static, T1: 'static> TupleStructure<Tuple2<T0, T1>> for (T0, T1)
fn get_ref<'__fuzzcheck_derive_lt>(
&'__fuzzcheck_derive_lt self
) -> (&'__fuzzcheck_derive_lt T0, &'__fuzzcheck_derive_lt T1)
fn get_mut<'__fuzzcheck_derive_lt>(
&'__fuzzcheck_derive_lt mut self
) -> (&'__fuzzcheck_derive_lt mut T0, &'__fuzzcheck_derive_lt mut T1)
fn new(t: (T0, T1)) -> Self
Auto Trait Implementations
impl<T0, T1> RefUnwindSafe for Tuple2<T0, T1> where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
impl<T0, T1> Send for Tuple2<T0, T1> where
T0: Send,
T1: Send,
impl<T0, T1> Sync for Tuple2<T0, T1> where
T0: Sync,
T1: Sync,
impl<T0, T1> Unpin for Tuple2<T0, T1> where
T0: Unpin,
T1: Unpin,
impl<T0, T1> UnwindSafe for Tuple2<T0, T1> where
T0: UnwindSafe,
T1: 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