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

A tuple that can be pushed/inserted into the tupled distributions

Required Methods

Creates a new tuple of vecs

Push one element into each of the vecs

Append one tuple of vecs to this one, leaving the vecs in the other tuple empty

Convert the tuple of vectors into a tuple of distributions

Implementations on Foreign Types

impl<A> TupledDistributionsBuilder for (Vec<A>,) where
    A: Copy
[src]

[src]

[src]

[src]

[src]

impl<A, B> TupledDistributionsBuilder for (Vec<A>, Vec<B>) where
    A: Copy,
    B: Copy
[src]

[src]

[src]

[src]

[src]

impl<A, B, C> TupledDistributionsBuilder for (Vec<A>, Vec<B>, Vec<C>) where
    A: Copy,
    B: Copy,
    C: Copy
[src]

[src]

[src]

[src]

[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]

[src]

[src]

[src]

[src]

Implementors