Struct differential_dataflow::trace::implementations::ord::OrdKeyCursor [−][src]
A cursor for navigating a single layer.
Trait Implementations
impl<T: Debug + Lattice + Ord + Clone, R: Debug + Diff> Debug for OrdKeyCursor<T, R>
[src]
impl<T: Debug + Lattice + Ord + Clone, R: Debug + Diff> Debug for OrdKeyCursor<T, R>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<K: Ord + Clone, T: Lattice + Ord + Clone, R: Diff> Cursor<K, (), T, R> for OrdKeyCursor<T, R>
[src]
impl<K: Ord + Clone, T: Lattice + Ord + Clone, R: Diff> Cursor<K, (), T, R> for OrdKeyCursor<T, R>
type Storage = OrdKeyBatch<K, T, R>
Type the cursor addresses data in.
fn key<'a>(&self, storage: &'a Self::Storage) -> &'a K
[src]
fn key<'a>(&self, storage: &'a Self::Storage) -> &'a K
A reference to the current key. Asserts if invalid.
fn val<'a>(&self, _storage: &'a Self::Storage) -> &'a ()
[src]
fn val<'a>(&self, _storage: &'a Self::Storage) -> &'a ()
A reference to the current value. Asserts if invalid.
fn map_times<L: FnMut(&T, R)>(&mut self, storage: &Self::Storage, logic: L)
[src]
fn map_times<L: FnMut(&T, R)>(&mut self, storage: &Self::Storage, logic: L)
Applies logic
to each pair of time and difference. Intended for mutation of the closure's scope. Read more
fn key_valid(&self, storage: &Self::Storage) -> bool
[src]
fn key_valid(&self, storage: &Self::Storage) -> bool
Indicates if the current key is valid. Read more
fn val_valid(&self, _storage: &Self::Storage) -> bool
[src]
fn val_valid(&self, _storage: &Self::Storage) -> bool
Indicates if the current value is valid. Read more
fn step_key(&mut self, storage: &Self::Storage)
[src]
fn step_key(&mut self, storage: &Self::Storage)
Advances the cursor to the next key. Indicates if the key is valid.
fn seek_key(&mut self, storage: &Self::Storage, key: &K)
[src]
fn seek_key(&mut self, storage: &Self::Storage, key: &K)
Advances the cursor to the specified key. Indicates if the key is valid.
fn step_val(&mut self, _storage: &Self::Storage)
[src]
fn step_val(&mut self, _storage: &Self::Storage)
Advances the cursor to the next value. Indicates if the value is valid.
fn seek_val(&mut self, _storage: &Self::Storage, _val: &())
[src]
fn seek_val(&mut self, _storage: &Self::Storage, _val: &())
Advances the cursor to the specified value. Indicates if the value is valid.
fn rewind_keys(&mut self, storage: &Self::Storage)
[src]
fn rewind_keys(&mut self, storage: &Self::Storage)
Rewinds the cursor to the first key.
fn rewind_vals(&mut self, _storage: &Self::Storage)
[src]
fn rewind_vals(&mut self, _storage: &Self::Storage)
Rewinds the cursor to the first value for current key.
fn get_key<'a>(&self, storage: &'a Self::Storage) -> Option<&'a K>
[src]
fn get_key<'a>(&self, storage: &'a Self::Storage) -> Option<&'a K>
Returns a reference to the current key, if valid.
fn get_val<'a>(&self, storage: &'a Self::Storage) -> Option<&'a V>
[src]
fn get_val<'a>(&self, storage: &'a Self::Storage) -> Option<&'a V>
Returns a reference to the current value, if valid.
Auto Trait Implementations
impl<T, R> Send for OrdKeyCursor<T, R>
impl<T, R> Send for OrdKeyCursor<T, R>
impl<T, R> Sync for OrdKeyCursor<T, R>
impl<T, R> Sync for OrdKeyCursor<T, R>