Skip to main content

Tuple15

Struct Tuple15 

Source
pub struct Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14> { /* private fields */ }
Expand description

A mutator for tuples.

Trait Implementations§

Source§

impl<M0: Clone, M1: Clone, M2: Clone, M3: Clone, M4: Clone, M5: Clone, M6: Clone, M7: Clone, M8: Clone, M9: Clone, M10: Clone, M11: Clone, M12: Clone, M13: Clone, M14: Clone> Clone for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>

Source§

fn clone( &self, ) -> Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<M0: Debug, M1: Debug, M2: Debug, M3: Debug, M4: Debug, M5: Debug, M6: Debug, M7: Debug, M8: Debug, M9: Debug, M10: Debug, M11: Debug, M12: Debug, M13: Debug, M14: Debug> Debug for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<M0: Default, M1: Default, M2: Default, M3: Default, M4: Default, M5: Default, M6: Default, M7: Default, M8: Default, M9: Default, M10: Default, M11: Default, M12: Default, M13: Default, M14: Default> Default for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>

Source§

fn default() -> Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>

Returns the “default value” for a type. Read more
Source§

impl<M0, T0, M1, T1, M2, T2, M3, T3, M4, T4, M5, T5, M6, T6, M7, T7, M8, T8, M9, T9, M10, T10, M11, T11, M12, T12, M13, T13, M14, T14> Generate<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)> for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>
where M0: Generate<T0>, M1: Generate<T1>, M2: Generate<T2>, M3: Generate<T3>, M4: Generate<T4>, M5: Generate<T5>, M6: Generate<T6>, M7: Generate<T7>, M8: Generate<T8>, M9: Generate<T9>, M10: Generate<T10>, M11: Generate<T11>, M12: Generate<T12>, M13: Generate<T13>, M14: Generate<T14>,

Source§

fn generate( &mut self, _ctx: &mut Context, ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)>

Generate a random T value from scratch. Read more
Source§

impl<M0, T0, M1, T1, M2, T2, M3, T3, M4, T4, M5, T5, M6, T6, M7, T7, M8, T8, M9, T9, M10, T10, M11, T11, M12, T12, M13, T13, M14, T14> Mutate<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)> for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>
where M0: Mutate<T0>, M1: Mutate<T1>, M2: Mutate<T2>, M3: Mutate<T3>, M4: Mutate<T4>, M5: Mutate<T5>, M6: Mutate<T6>, M7: Mutate<T7>, M8: Mutate<T8>, M9: Mutate<T9>, M10: Mutate<T10>, M11: Mutate<T11>, M12: Mutate<T12>, M13: Mutate<T13>, M14: Mutate<T14>,

Source§

fn mutate( &mut self, _c: &mut Candidates<'_>, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14): &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), ) -> Result<()>

Pseudo-randomly mutate the given value. Read more
Source§

fn mutation_count( &self, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14): &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), _shrink: bool, ) -> Option<u32>

Return the number of mutations that mutate would register for the given value. Read more
Source§

fn generate_via_mutate( &mut self, context: &mut Context, iters: usize, ) -> Result<T>
where T: Sized + Default,

Generate a new value by mutating its default value iters times. Read more
Source§

fn or<M>(self, other: M) -> Or<Self, M>
where Self: Sized,

Create a new mutator that performs either this mutation or the other mutation. Read more
Source§

fn map<F>(self, f: F) -> Map<Self, F>
where Self: Sized, F: FnMut(&mut Context, &mut T) -> Result<()>,

Map a function over the mutations produced by this mutator. Read more
Source§

fn proj<F, U>(self, f: F) -> Proj<Self, F>
where Self: Sized, F: FnMut(&mut U) -> &mut T,

Given a projection function F: FnMut(&mut U) -> &mut T, turn this Mutate<T> into a Mutate<U>. Read more
Source§

fn by_ref(&mut self) -> &mut Self
where Self: Sized,

Borrows a mutator, rather than consuming it. Read more

Auto Trait Implementations§

§

impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14> Freeze for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>
where M0: Freeze, M1: Freeze, M2: Freeze, M3: Freeze, M4: Freeze, M5: Freeze, M6: Freeze, M7: Freeze, M8: Freeze, M9: Freeze, M10: Freeze, M11: Freeze, M12: Freeze, M13: Freeze, M14: Freeze,

§

impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14> RefUnwindSafe for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>

§

impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14> Send for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>
where M0: Send, M1: Send, M2: Send, M3: Send, M4: Send, M5: Send, M6: Send, M7: Send, M8: Send, M9: Send, M10: Send, M11: Send, M12: Send, M13: Send, M14: Send,

§

impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14> Sync for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>
where M0: Sync, M1: Sync, M2: Sync, M3: Sync, M4: Sync, M5: Sync, M6: Sync, M7: Sync, M8: Sync, M9: Sync, M10: Sync, M11: Sync, M12: Sync, M13: Sync, M14: Sync,

§

impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14> Unpin for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>
where M0: Unpin, M1: Unpin, M2: Unpin, M3: Unpin, M4: Unpin, M5: Unpin, M6: Unpin, M7: Unpin, M8: Unpin, M9: Unpin, M10: Unpin, M11: Unpin, M12: Unpin, M13: Unpin, M14: Unpin,

§

impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14> UnsafeUnpin for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>

§

impl<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14> UnwindSafe for Tuple15<M0, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14>
where M0: UnwindSafe, M1: UnwindSafe, M2: UnwindSafe, M3: UnwindSafe, M4: UnwindSafe, M5: UnwindSafe, M6: UnwindSafe, M7: UnwindSafe, M8: UnwindSafe, M9: UnwindSafe, M10: UnwindSafe, M11: UnwindSafe, M12: UnwindSafe, M13: UnwindSafe, M14: 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.