Trait differential_dataflow::trace::layers::TupleBuilder
source · pub trait TupleBuilder: Builder {
type Item;
fn new() -> Self;
fn with_capacity(cap: usize) -> Self;
fn push_tuple(&mut self, tuple: Self::Item);
}Expand description
A type used to assemble collections from ordered sequences of tuples.
Required Associated Types
Required Methods
sourcefn with_capacity(cap: usize) -> Self
fn with_capacity(cap: usize) -> Self
Allocates a new builder with capacity for at least cap tuples.
sourcefn push_tuple(&mut self, tuple: Self::Item)
fn push_tuple(&mut self, tuple: Self::Item)
Inserts a new into the collection.