Skip to main content

Tuple6

Struct Tuple6 

Source
pub struct Tuple6<A, B, C, D, E, F> { /* private fields */ }
Expand description

Tuple6 generator type , figuratively generate item of the form (A, B, C, D, E, F)

Trait Implementations§

Source§

impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone> Clone for Tuple6<A, B, C, D, E, F>

Source§

fn clone(&self) -> Tuple6<A, B, C, D, E, F>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<A, B, C, D, E, F> Generator for Tuple6<A, B, C, D, E, F>

Source§

type Item = (<A as Generator>::Item, <B as Generator>::Item, <C as Generator>::Item, <D as Generator>::Item, <E as Generator>::Item, <F as Generator>::Item)

Type generated by the generator
Source§

fn generate(&self, r: &mut R) -> Self::Item

Generate the next item
Source§

fn map<O, F>(self, f: F) -> Map<Self, F>
where Self: Sized, F: Fn(Self::Item) -> O,

Map the output of a generator through a function Read more
Source§

fn such_that<F>(self, f: F) -> SuchThat<Self, F>
where Self: Sized, F: Fn(Self::Item) -> bool + Clone,

Filter the generated items such that only the item that matches the predicate ‘f’ are returned. Read more
Source§

fn and<G>(self, other: G) -> And<Self, G>
where Self: Sized,

Combine two arbitrary generators into one that generate tuple item of both generators, transforming generator for A and generator for B into one generator of (A,B) Read more
Source§

fn or<G>(self, other: G) -> Or<Self, G>
where Self: Sized, G: Generator<Item = Self::Item>,

This generator or another one. Read more
Source§

fn into_boxed(self) -> BoxGenerator<Self::Item>
where Self: Sized + 'static,

Box a generator into a monomorphic fixed-sized type, that is easier to handle

Auto Trait Implementations§

§

impl<A, B, C, D, E, F> Freeze for Tuple6<A, B, C, D, E, F>
where A: Freeze, B: Freeze, C: Freeze, D: Freeze, E: Freeze, F: Freeze,

§

impl<A, B, C, D, E, F> RefUnwindSafe for Tuple6<A, B, C, D, E, F>

§

impl<A, B, C, D, E, F> Send for Tuple6<A, B, C, D, E, F>
where A: Send, B: Send, C: Send, D: Send, E: Send, F: Send,

§

impl<A, B, C, D, E, F> Sync for Tuple6<A, B, C, D, E, F>
where A: Sync, B: Sync, C: Sync, D: Sync, E: Sync, F: Sync,

§

impl<A, B, C, D, E, F> Unpin for Tuple6<A, B, C, D, E, F>
where A: Unpin, B: Unpin, C: Unpin, D: Unpin, E: Unpin, F: Unpin,

§

impl<A, B, C, D, E, F> UnsafeUnpin for Tuple6<A, B, C, D, E, F>

§

impl<A, B, C, D, E, F> UnwindSafe for Tuple6<A, B, C, D, E, F>

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.