Struct differential_dataflow::trace::rc_blanket_impls::RcBatchCursor [−][src]
pub struct RcBatchCursor<K, V, T, R, B: BatchReader<K, V, T, R>> { /* fields omitted */ }
Wrapper to provide cursor to nested scope.
Trait Implementations
impl<K, V, T, R, B: BatchReader<K, V, T, R>> Cursor<K, V, T, R> for RcBatchCursor<K, V, T, R, B>
[src]
impl<K, V, T, R, B: BatchReader<K, V, T, R>> Cursor<K, V, T, R> for RcBatchCursor<K, V, T, R, B>
type Storage = Rc<B>
Type the cursor addresses data in.
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 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 V
[src]
fn val<'a>(&self, storage: &'a Self::Storage) -> &'a V
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 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: &V)
[src]
fn seek_val(&mut self, storage: &Self::Storage, val: &V)
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<K, V, T, R, B> Send for RcBatchCursor<K, V, T, R, B> where
K: Send,
R: Send,
T: Send,
V: Send,
<B as BatchReader<K, V, T, R>>::Cursor: Send,
impl<K, V, T, R, B> Send for RcBatchCursor<K, V, T, R, B> where
K: Send,
R: Send,
T: Send,
V: Send,
<B as BatchReader<K, V, T, R>>::Cursor: Send,
impl<K, V, T, R, B> Sync for RcBatchCursor<K, V, T, R, B> where
K: Sync,
R: Sync,
T: Sync,
V: Sync,
<B as BatchReader<K, V, T, R>>::Cursor: Sync,
impl<K, V, T, R, B> Sync for RcBatchCursor<K, V, T, R, B> where
K: Sync,
R: Sync,
T: Sync,
V: Sync,
<B as BatchReader<K, V, T, R>>::Cursor: Sync,