Trait criterion_stats::tuple::TupledDistributionsBuilder [−][src]
A tuple of vecs used to build distributions.
Associated Types
type Item: Tuple<Builder = Self>
[src]
A tuple that can be pushed/inserted into the tupled distributions
Required methods
fn new(size: usize) -> Self
[src]
Creates a new tuple of vecs
fn push(&mut self, tuple: Self::Item)
[src]
Push one element into each of the vecs
fn extend(&mut self, other: &mut Self)
[src]
Append one tuple of vecs to this one, leaving the vecs in the other tuple empty
fn complete(self) -> <Self::Item as Tuple>::Distributions
[src]
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,
type Item = (A,)
fn new(size: usize) -> (Vec<A>,)
[src]
fn push(&mut self, tuple: (A,))
[src]
fn extend(&mut self, other: &mut (Vec<A>,))
[src]
fn complete(self) -> (Distribution<A>,)
[src]
impl<A, B> TupledDistributionsBuilder for (Vec<A>, Vec<B>) where
A: Copy,
B: Copy,
[src]
A: Copy,
B: Copy,
type Item = (A, B)
fn new(size: usize) -> (Vec<A>, Vec<B>)
[src]
fn push(&mut self, tuple: (A, B))
[src]
fn extend(&mut self, other: &mut (Vec<A>, Vec<B>))
[src]
fn complete(self) -> (Distribution<A>, Distribution<B>)
[src]
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,
type Item = (A, B, C)
fn new(size: usize) -> (Vec<A>, Vec<B>, Vec<C>)
[src]
fn push(&mut self, tuple: (A, B, C))
[src]
fn extend(&mut self, other: &mut (Vec<A>, Vec<B>, Vec<C>))
[src]
fn complete(self) -> (Distribution<A>, Distribution<B>, Distribution<C>)
[src]
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,
type Item = (A, B, C, D)
fn new(size: usize) -> (Vec<A>, Vec<B>, Vec<C>, Vec<D>)
[src]
fn push(&mut self, tuple: (A, B, C, D))
[src]
fn extend(&mut self, other: &mut (Vec<A>, Vec<B>, Vec<C>, Vec<D>))
[src]
fn complete(
self
) -> (Distribution<A>, Distribution<B>, Distribution<C>, Distribution<D>)
[src]
self
) -> (Distribution<A>, Distribution<B>, Distribution<C>, Distribution<D>)