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>
Source§type Item = ((<<L as Layout>::Target as Update>::Key, ()), <<L as Layout>::Target as Update>::Time, <<L as Layout>::Target as Update>::Diff)
type Item = ((<<L as Layout>::Target as Update>::Key, ()), <<L as Layout>::Target as Update>::Time, <<L as Layout>::Target as Update>::Diff)
Input item type.
Source§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::Item)
fn push(&mut self, ((key, ()), time, diff): Self::Item)
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>::UpdContainer: RefUnwindSafe,
<<L as Layout>::Target as Update>::Time: RefUnwindSafe,
<<L as Layout>::Target as Update>::Diff: RefUnwindSafe,
impl<L> Send for OrdKeyBuilder<L>
impl<L> Sync for OrdKeyBuilder<L>
impl<L> Unpin for OrdKeyBuilder<L>
impl<L> UnwindSafe for OrdKeyBuilder<L>where
<L as Layout>::KeyContainer: 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