Struct differential_dataflow::trace::rc_blanket_impls::RcBuilder
source · pub struct RcBuilder<K, V, T, R, B: Batch<K, V, T, R>> { /* private fields */ }Expand description
Wrapper type for building reference counted batches.
Trait Implementations
sourceimpl<K, V, T, R, B: Batch<K, V, T, R>> Builder<K, V, T, R, Rc<B>> for RcBuilder<K, V, T, R, B>
impl<K, V, T, R, B: Batch<K, V, T, R>> Builder<K, V, T, R, Rc<B>> for RcBuilder<K, V, T, R, B>
Functionality for building batches from ordered update sequences.
sourcefn with_capacity(cap: usize) -> Self
fn with_capacity(cap: usize) -> Self
Allocates an empty builder with some capacity.
sourcefn push(&mut self, element: (K, V, T, R))
fn push(&mut self, element: (K, V, T, R))
Adds an element to the batch.
sourcefn done(self, lower: &[T], upper: &[T], since: &[T]) -> Rc<B>
fn done(self, lower: &[T], upper: &[T], since: &[T]) -> Rc<B>
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, V, T, R, B> RefUnwindSafe for RcBuilder<K, V, T, R, B>where
<B as Batch<K, V, T, R>>::Builder: RefUnwindSafe,
impl<K, V, T, R, B> Send for RcBuilder<K, V, T, R, B>where
<B as Batch<K, V, T, R>>::Builder: Send,
impl<K, V, T, R, B> Sync for RcBuilder<K, V, T, R, B>where
<B as Batch<K, V, T, R>>::Builder: Sync,
impl<K, V, T, R, B> Unpin for RcBuilder<K, V, T, R, B>where
<B as Batch<K, V, T, R>>::Builder: Unpin,
impl<K, V, T, R, B> UnwindSafe for RcBuilder<K, V, T, R, B>where
<B as Batch<K, V, T, R>>::Builder: 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