Tuple

Trait Tuple 

Source
pub trait Tuple: Sized {
    type Distributions: TupledDistributions<Item = Self>;
    type Builder: TupledDistributionsBuilder<Item = Self>;
}
Expand description

Any tuple: (A, B, ..)

Required Associated Types§

Source

type Distributions: TupledDistributions<Item = Self>

A tuple of distributions associated with this tuple

Source

type Builder: TupledDistributionsBuilder<Item = Self>

A tuple of vectors associated with this tuple

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<A> Tuple for (A,)
where A: Copy,

Source§

impl<A, B> Tuple for (A, B)
where A: Copy, B: Copy,

Source§

impl<A, B, C> Tuple for (A, B, C)
where A: Copy, B: Copy, C: Copy,

Source§

impl<A, B, C, D> Tuple for (A, B, C, D)
where A: Copy, B: Copy, C: Copy, D: Copy,

Implementors§