Struct fuzzcheck_mutators::Tuple2 [−][src]
Trait Implementations
impl<T0: 'static, T1: 'static> RefTypes for Tuple2<T0, T1>
[src]
type Owned = (T0, T1)
type Ref = (&'a T0, &'a T1)
type Mut = (&'a mut T0, &'a mut T1)
fn get_ref_from_mut<'a>(v: &'a Self::Mut) -> Self::Ref
[src]
impl<T, T0, T1, M0, M1> TupleMutator<T, Tuple2<T0, T1>> for Tuple2Mutator<T0, T1, M0, M1> where
T: Clone,
T0: Clone + 'static,
M0: Mutator<T0>,
T1: Clone + 'static,
M1: Mutator<T1>,
T: TupleStructure<Tuple2<T0, T1>>,
[src]
T: Clone,
T0: Clone + 'static,
M0: Mutator<T0>,
T1: Clone + 'static,
M1: Mutator<T1>,
T: TupleStructure<Tuple2<T0, T1>>,
type Cache = Cache<<M0 as Mutator<T0>>::Cache, <M1 as Mutator<T1>>::Cache>
type MutationStep = MutationStep<<M0 as Mutator<T0>>::MutationStep, <M1 as Mutator<T1>>::MutationStep>
type ArbitraryStep = ArbitraryStep<<M0 as Mutator<T0>>::ArbitraryStep, <M1 as Mutator<T1>>::ArbitraryStep>
type UnmutateToken = UnmutateToken<<M0 as Mutator<T0>>::UnmutateToken, <M1 as Mutator<T1>>::UnmutateToken>
fn max_complexity(&self) -> f64
[src]
fn min_complexity(&self) -> f64
[src]
fn complexity<'a>(
&'a self,
_value: (&'a T0, &'a T1),
cache: &'a Self::Cache
) -> f64
[src]
&'a self,
_value: (&'a T0, &'a T1),
cache: &'a Self::Cache
) -> f64
fn cache_from_value<'a>(&'a self, value: (&'a T0, &'a T1)) -> Self::Cache
[src]
fn initial_step_from_value<'a>(
&'a self,
value: (&'a T0, &'a T1)
) -> Self::MutationStep
[src]
&'a self,
value: (&'a T0, &'a T1)
) -> Self::MutationStep
fn ordered_arbitrary(
&self,
step: &mut Self::ArbitraryStep,
max_cplx: f64
) -> Option<(T, Self::Cache)>
[src]
&self,
step: &mut Self::ArbitraryStep,
max_cplx: f64
) -> Option<(T, Self::Cache)>
fn random_arbitrary(&self, max_cplx: f64) -> (T, Self::Cache)
[src]
fn ordered_mutate<'a>(
&'a self,
value: (&'a mut T0, &'a mut T1),
cache: &'a mut Self::Cache,
step: &'a mut Self::MutationStep,
max_cplx: f64
) -> Option<Self::UnmutateToken>
[src]
&'a self,
value: (&'a mut T0, &'a mut T1),
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),
cache: &'a mut Self::Cache,
max_cplx: f64
) -> Self::UnmutateToken
[src]
&'a self,
value: (&'a mut T0, &'a mut T1),
cache: &'a mut Self::Cache,
max_cplx: f64
) -> Self::UnmutateToken
fn unmutate<'a>(
&'a self,
value: (&'a mut T0, &'a mut T1),
cache: &'a mut Self::Cache,
t: Self::UnmutateToken
)
[src]
&'a self,
value: (&'a mut T0, &'a mut T1),
cache: &'a mut Self::Cache,
t: Self::UnmutateToken
)
impl<T0: 'static, T1: 'static> TupleStructure<Tuple2<T0, T1>> for (T0, T1)
[src]
Auto Trait Implementations
impl<T0, T1> RefUnwindSafe for Tuple2<T0, T1> where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
[src]
T0: RefUnwindSafe,
T1: RefUnwindSafe,
impl<T0, T1> Send for Tuple2<T0, T1> where
T0: Send,
T1: Send,
[src]
T0: Send,
T1: Send,
impl<T0, T1> Sync for Tuple2<T0, T1> where
T0: Sync,
T1: Sync,
[src]
T0: Sync,
T1: Sync,
impl<T0, T1> Unpin for Tuple2<T0, T1> where
T0: Unpin,
T1: Unpin,
[src]
T0: Unpin,
T1: Unpin,
impl<T0, T1> UnwindSafe for Tuple2<T0, T1> where
T0: UnwindSafe,
T1: UnwindSafe,
[src]
T0: UnwindSafe,
T1: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,