Tuple5

Struct Tuple5 

Source
pub struct Tuple5<T0: 'static, T1: 'static, T2: 'static, T3: 'static, T4: 'static> { /* private fields */ }

Trait Implementations§

Source§

impl<T0: 'static, T1: 'static, T2: 'static, T3: 'static, T4: 'static> RefTypes for Tuple5<T0, T1, T2, T3, T4>

Source§

impl<T, T0, T1, T2, T3, T4, M0, M1, M2, M3, M4> TupleMutator<T, Tuple5<T0, T1, T2, T3, T4>> for Tuple5Mutator<T0, T1, T2, T3, T4, M0, M1, M2, M3, M4>
where T: Clone + TupleStructure<Tuple5<T0, T1, T2, T3, T4>>, 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>,

Source§

type Cache = Cache<<M0 as Mutator<T0>>::Cache, <M1 as Mutator<T1>>::Cache, <M2 as Mutator<T2>>::Cache, <M3 as Mutator<T3>>::Cache, <M4 as Mutator<T4>>::Cache>

Source§

type MutationStep = MutationStep<<M0 as Mutator<T0>>::MutationStep, <M1 as Mutator<T1>>::MutationStep, <M2 as Mutator<T2>>::MutationStep, <M3 as Mutator<T3>>::MutationStep, <M4 as Mutator<T4>>::MutationStep>

Source§

type ArbitraryStep = ArbitraryStep<<M0 as Mutator<T0>>::ArbitraryStep, <M1 as Mutator<T1>>::ArbitraryStep, <M2 as Mutator<T2>>::ArbitraryStep, <M3 as Mutator<T3>>::ArbitraryStep, <M4 as Mutator<T4>>::ArbitraryStep>

Source§

type UnmutateToken = UnmutateToken<<M0 as Mutator<T0>>::UnmutateToken, <M1 as Mutator<T1>>::UnmutateToken, <M2 as Mutator<T2>>::UnmutateToken, <M3 as Mutator<T3>>::UnmutateToken, <M4 as Mutator<T4>>::UnmutateToken>

Source§

fn max_complexity(&self) -> f64

Source§

fn min_complexity(&self) -> f64

Source§

fn complexity<'a>( &'a self, _value: (&'a T0, &'a T1, &'a T2, &'a T3, &'a T4), cache: &'a Self::Cache, ) -> f64

Source§

fn cache_from_value<'a>( &'a self, value: (&'a T0, &'a T1, &'a T2, &'a T3, &'a T4), ) -> Self::Cache

Source§

fn initial_step_from_value<'a>( &'a self, value: (&'a T0, &'a T1, &'a T2, &'a T3, &'a T4), ) -> Self::MutationStep

Source§

fn ordered_arbitrary( &self, step: &mut Self::ArbitraryStep, max_cplx: f64, ) -> Option<(T, Self::Cache)>

Source§

fn random_arbitrary(&self, max_cplx: f64) -> (T, Self::Cache)

Source§

fn ordered_mutate<'a>( &'a self, value: (&'a mut T0, &'a mut T1, &'a mut T2, &'a mut T3, &'a mut T4), cache: &'a mut Self::Cache, step: &'a mut Self::MutationStep, max_cplx: f64, ) -> Option<Self::UnmutateToken>

Source§

fn random_mutate<'a>( &'a self, value: (&'a mut T0, &'a mut T1, &'a mut T2, &'a mut T3, &'a mut T4), cache: &'a mut Self::Cache, max_cplx: f64, ) -> Self::UnmutateToken

Source§

fn unmutate<'a>( &'a self, value: (&'a mut T0, &'a mut T1, &'a mut T2, &'a mut T3, &'a mut T4), cache: &'a mut Self::Cache, t: Self::UnmutateToken, )

Source§

impl<T0: 'static, T1: 'static, T2: 'static, T3: 'static, T4: 'static> TupleStructure<Tuple5<T0, T1, T2, T3, T4>> for (T0, T1, T2, T3, T4)

Auto Trait Implementations§

§

impl<T0, T1, T2, T3, T4> Freeze for Tuple5<T0, T1, T2, T3, T4>

§

impl<T0, T1, T2, T3, T4> RefUnwindSafe for Tuple5<T0, T1, T2, T3, T4>

§

impl<T0, T1, T2, T3, T4> Send for Tuple5<T0, T1, T2, T3, T4>
where T0: Send, T1: Send, T2: Send, T3: Send, T4: Send,

§

impl<T0, T1, T2, T3, T4> Sync for Tuple5<T0, T1, T2, T3, T4>
where T0: Sync, T1: Sync, T2: Sync, T3: Sync, T4: Sync,

§

impl<T0, T1, T2, T3, T4> Unpin for Tuple5<T0, T1, T2, T3, T4>
where T0: Unpin, T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin,

§

impl<T0, T1, T2, T3, T4> UnwindSafe for Tuple5<T0, T1, T2, T3, T4>
where T0: UnwindSafe, T1: UnwindSafe, T2: UnwindSafe, T3: UnwindSafe, T4: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> TupleStructure<Tuple1<T>> for T
where T: 'static,

Source§

fn get_ref<'a>(&'a self) -> &'a T

Source§

fn get_mut<'a>(&'a mut self) -> &'a mut T

Source§

fn new(t: T) -> T