[−][src]Struct differential_dataflow::trace::layers::hashed::HashedBuilder
Assembles a layer of this
Fields
keys: Vec<Entry<K>>
Entries in the hash map.
vals: L
A builder for the layer below.
Trait Implementations
impl<K: HashOrdered + Clone + Default, L: Builder> Builder for HashedBuilder<K, L>
[src]
type Trie = HashedLayer<K, L::Trie>
The type of collection produced.
fn boundary(&mut self) -> usize
[src]
Looks at the contents of self.temp and extends self.keys appropriately.
This is where the "hash map" structure is produced. Up until this point, all (key, usize) pairs were committed to self.temp, where they awaited layout. That now happens here.
fn done(self) -> Self::Trie
[src]
impl<K: HashOrdered + Clone + Default, L: MergeBuilder> MergeBuilder for HashedBuilder<K, L>
[src]
fn with_capacity(other1: &Self::Trie, other2: &Self::Trie) -> Self
[src]
fn copy_range(&mut self, other: &Self::Trie, lower: usize, upper: usize)
[src]
Copies fully formed ranges (note plural) of keys from another trie.
While the ranges are fully formed, the offsets in them are relative to the other trie, and must be corrected. These keys must be moved immediately to self.keys, as there is no info about boundaries between them, and we are unable to lay out the info any differently.
fn push_merge(
&mut self,
other1: (&Self::Trie, usize, usize),
other2: (&Self::Trie, usize, usize)
) -> usize
[src]
&mut self,
other1: (&Self::Trie, usize, usize),
other2: (&Self::Trie, usize, usize)
) -> usize
impl<K: HashOrdered + Clone + Default, L: TupleBuilder> TupleBuilder for HashedBuilder<K, L>
[src]
Auto Trait Implementations
impl<K, L> Send for HashedBuilder<K, L> where
K: Send,
L: Send,
K: Send,
L: Send,
impl<K, L> Sync for HashedBuilder<K, L> where
K: Sync,
L: Sync,
K: Sync,
L: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,