Struct differential_dataflow::trace::layers::ordered_leaf::OrderedLeafBuilder
[−]
[src]
pub struct OrderedLeafBuilder<K, R> { pub vals: Vec<(K, R)>, }
A builder for unordered values.
Fields
vals: Vec<(K, R)>
Unordered values.
Trait Implementations
impl<K: Ord + Clone, R: Diff + Clone> Builder for OrderedLeafBuilder<K, R>
[src]
type Trie = OrderedLeaf<K, R>
The type of collection produced.
fn boundary(&mut self) -> usize
[src]
Requests a commitment to the offset of the current-most sub-collection. Read more
fn done(self) -> Self::Trie
[src]
Finalizes the building process and returns the collection.
impl<K: Ord + Clone, R: Diff + Clone> MergeBuilder for OrderedLeafBuilder<K, R>
[src]
fn with_capacity(other1: &Self::Trie, other2: &Self::Trie) -> Self
[src]
Allocates an instance of the builder with sufficient capacity to contain the merged data.
fn copy_range(&mut self, other: &Self::Trie, lower: usize, upper: usize)
[src]
Copies sub-collections of other
into this collection.
fn push_merge(
&mut self,
other1: (&Self::Trie, usize, usize),
other2: (&Self::Trie, usize, usize)
) -> usize
[src]
&mut self,
other1: (&Self::Trie, usize, usize),
other2: (&Self::Trie, usize, usize)
) -> usize
Merges two sub-collections into one sub-collection.