Trait criterion_stats::tuple::TupledDistributionsBuilder
[−]
[src]
pub trait TupledDistributionsBuilder: Sized { type Item: Tuple<Builder = Self>; fn new(size: usize) -> Self; fn push(&mut self, tuple: Self::Item); fn extend(&mut self, other: &mut Self); fn complete(self) -> <Self::Item as Tuple>::Distributions; }
A tuple of vecs used to build distributions.
Associated Types
Required Methods
fn new(size: usize) -> Self
Creates a new tuple of vecs
fn push(&mut self, tuple: Self::Item)
Push one element into each of the vecs
fn extend(&mut self, other: &mut Self)
Append one tuple of vecs to this one, leaving the vecs in the other tuple empty
fn complete(self) -> <Self::Item as Tuple>::Distributions
Convert the tuple of vectors into a tuple of distributions
Implementations on Foreign Types
impl<A> TupledDistributionsBuilder for (Vec<A>,) where
A: Copy,
[src]
A: Copy,
impl<A, B> TupledDistributionsBuilder for (Vec<A>, Vec<B>) where
A: Copy,
B: Copy,
[src]
A: Copy,
B: Copy,
impl<A, B, C> TupledDistributionsBuilder for (Vec<A>, Vec<B>, Vec<C>) where
A: Copy,
B: Copy,
C: Copy,
[src]
A: Copy,
B: Copy,
C: Copy,
impl<A, B, C, D> TupledDistributionsBuilder for (Vec<A>, Vec<B>, Vec<C>, Vec<D>) where
A: Copy,
B: Copy,
C: Copy,
D: Copy,
[src]
A: Copy,
B: Copy,
C: Copy,
D: Copy,