Struct differential_dataflow::trace::implementations::ord_neu::OrdKeyBuilder
source · pub struct OrdKeyBuilder<L: Layout, CI> { /* private fields */ }
Expand description
A builder for creating layers from unsorted update tuples.
Trait Implementations§
source§impl<L, CI> Builder for OrdKeyBuilder<L, CI>where
L: Layout,
CI: for<'a> BuilderInput<L::KeyContainer, L::ValContainer, Time = <L::Target as Update>::Time, Diff = <L::Target as Update>::Diff>,
for<'a> L::KeyContainer: PushInto<CI::Key<'a>>,
for<'a> <L::TimeContainer as BatchContainer>::ReadItem<'a>: IntoOwned<'a, Owned = <L::Target as Update>::Time>,
for<'a> <L::DiffContainer as BatchContainer>::ReadItem<'a>: IntoOwned<'a, Owned = <L::Target as Update>::Diff>,
impl<L, CI> Builder for OrdKeyBuilder<L, CI>where
L: Layout,
CI: for<'a> BuilderInput<L::KeyContainer, L::ValContainer, Time = <L::Target as Update>::Time, Diff = <L::Target as Update>::Diff>,
for<'a> L::KeyContainer: PushInto<CI::Key<'a>>,
for<'a> <L::TimeContainer as BatchContainer>::ReadItem<'a>: IntoOwned<'a, Owned = <L::Target as Update>::Time>,
for<'a> <L::DiffContainer as BatchContainer>::ReadItem<'a>: IntoOwned<'a, Owned = <L::Target as Update>::Diff>,
§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 done(self, description: Description<Self::Time>) -> OrdKeyBatch<L>
fn done(self, description: Description<Self::Time>) -> OrdKeyBatch<L>
Completes building and returns the batch.
Auto Trait Implementations§
impl<L, CI> Freeze for OrdKeyBuilder<L, CI>
impl<L, CI> RefUnwindSafe for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: RefUnwindSafe,
<L as Layout>::OffsetContainer: RefUnwindSafe,
<L as Layout>::TimeContainer: RefUnwindSafe,
<L as Layout>::DiffContainer: RefUnwindSafe,
CI: RefUnwindSafe,
<<L as Layout>::Target as Update>::Time: RefUnwindSafe,
<<L as Layout>::Target as Update>::Diff: RefUnwindSafe,
impl<L, CI> Send for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: Send,
<L as Layout>::OffsetContainer: Send,
<L as Layout>::TimeContainer: Send,
<L as Layout>::DiffContainer: Send,
CI: Send,
<<L as Layout>::Target as Update>::Diff: Send,
impl<L, CI> Sync for OrdKeyBuilder<L, CI>
impl<L, CI> Unpin for OrdKeyBuilder<L, CI>
impl<L, CI> UnwindSafe for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: UnwindSafe,
<L as Layout>::OffsetContainer: UnwindSafe,
<L as Layout>::TimeContainer: UnwindSafe,
<L as Layout>::DiffContainer: UnwindSafe,
CI: 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<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.