Trait differential_dataflow::trace::layers::TupleBuilder[][src]

pub trait TupleBuilder: Builder {
    type Item;
    fn new() -> Self;
fn with_capacity(cap: usize) -> Self;
fn push_tuple(&mut self, tuple: Self::Item); }

A type used to assemble collections from ordered sequences of tuples.

Associated Types

type Item[src]

The type of item accepted for construction.

Loading content...

Required methods

fn new() -> Self[src]

Allocates a new builder.

fn with_capacity(cap: usize) -> Self[src]

Allocates a new builder with capacity for at least cap tuples.

fn push_tuple(&mut self, tuple: Self::Item)[src]

Inserts a new into the collection.

Loading content...

Implementors

impl<K, L, O> TupleBuilder for OrderedBuilder<K, L, O> where
    K: Ord + Clone,
    L: TupleBuilder,
    O: OrdOffset,
    <O as TryFrom<usize>>::Error: Debug,
    <O as TryInto<usize>>::Error: Debug
[src]

type Item = (K, L::Item)

impl<K: Ord + Clone, R: Semigroup + Clone> TupleBuilder for OrderedLeafBuilder<K, R>[src]

type Item = (K, R)

Loading content...