Struct differential_dataflow::trace::implementations::ord_neu::OrdKeyBuilder
source · pub struct OrdKeyBuilder<L: Layout> { /* private fields */ }
Expand description
A builder for creating layers from unsorted update tuples.
Trait Implementations§
source§impl<L: Layout> Builder for OrdKeyBuilder<L>
impl<L: Layout> Builder for OrdKeyBuilder<L>
§type Input = ((<<L as Layout>::Target as Update>::Key, ()), <<L as Layout>::Target as Update>::Time, <<L as Layout>::Target as Update>::Diff)
type Input = ((<<L as Layout>::Target as Update>::Key, ()), <<L as Layout>::Target as Update>::Time, <<L as Layout>::Target as Update>::Diff)
Input item type.
§type Output = OrdKeyBatch<L>
type Output = OrdKeyBatch<L>
Output batch type.
source§fn with_capacity(keys: usize, _vals: usize, upds: usize) -> Self
fn with_capacity(keys: usize, _vals: usize, upds: usize) -> Self
Allocates an empty builder with capacity for the specified keys, values, and updates. Read more
source§fn push(&mut self, ((key, ()), time, diff): Self::Input)
fn push(&mut self, ((key, ()), time, diff): Self::Input)
Adds an element to the batch. Read more
Auto Trait Implementations§
impl<L> Freeze for OrdKeyBuilder<L>
impl<L> RefUnwindSafe for OrdKeyBuilder<L>where
<L as Layout>::KeyContainer: RefUnwindSafe,
<L as Layout>::OffsetContainer: RefUnwindSafe,
<L as Layout>::UpdContainer: RefUnwindSafe,
<<L as Layout>::Target as Update>::Time: RefUnwindSafe,
<<L as Layout>::Target as Update>::Diff: RefUnwindSafe,
impl<L> Send for OrdKeyBuilder<L>where
<L as Layout>::KeyContainer: Send,
<L as Layout>::OffsetContainer: Send,
<L as Layout>::UpdContainer: Send,
<<L as Layout>::Target as Update>::Diff: Send,
impl<L> Sync for OrdKeyBuilder<L>where
<L as Layout>::KeyContainer: Sync,
<L as Layout>::OffsetContainer: Sync,
<L as Layout>::UpdContainer: Sync,
<<L as Layout>::Target as Update>::Diff: Sync,
impl<L> Unpin for OrdKeyBuilder<L>
impl<L> UnwindSafe for OrdKeyBuilder<L>where
<L as Layout>::KeyContainer: UnwindSafe,
<L as Layout>::OffsetContainer: UnwindSafe,
<L as Layout>::UpdContainer: UnwindSafe,
<<L as Layout>::Target as Update>::Time: UnwindSafe,
<<L as Layout>::Target as Update>::Diff: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.