Struct differential_dataflow::trace::implementations::ord::OrdKeyBuilder
source · Expand description
A builder for creating layers from unsorted update tuples.
Trait Implementations
sourceimpl<K, T, R> Builder<K, (), T, R, OrdKeyBatch<K, T, R>> for OrdKeyBuilder<K, T, R>where
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Diff,
impl<K, T, R> Builder<K, (), T, R, OrdKeyBatch<K, T, R>> for OrdKeyBuilder<K, T, R>where
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Diff,
sourcefn with_capacity(cap: usize) -> Self
fn with_capacity(cap: usize) -> Self
Allocates an empty builder with some capacity.
sourcefn done(self, lower: &[T], upper: &[T], since: &[T]) -> OrdKeyBatch<K, T, R>
fn done(self, lower: &[T], upper: &[T], since: &[T]) -> OrdKeyBatch<K, T, R>
Completes building and returns the batch.
sourcefn extend<I: Iterator<Item = (K, V, T, R)>>(&mut self, iter: I)
fn extend<I: Iterator<Item = (K, V, T, R)>>(&mut self, iter: I)
Adds an ordered sequence of elements to the batch.
Auto Trait Implementations
impl<K, T, R> RefUnwindSafe for OrdKeyBuilder<K, T, R>where
K: RefUnwindSafe,
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<K, T, R> Send for OrdKeyBuilder<K, T, R>where
K: Send,
T: Send,
impl<K, T, R> Sync for OrdKeyBuilder<K, T, R>where
K: Sync,
T: Sync,
impl<K, T, R> Unpin for OrdKeyBuilder<K, T, R>where
K: Unpin,
R: Unpin,
T: Unpin,
impl<K, T, R> UnwindSafe for OrdKeyBuilder<K, T, R>where
K: UnwindSafe,
R: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more