[−][src]Struct differential_dataflow::trace::implementations::ord::OrdValCursor
A cursor for navigating a single layer.
Trait Implementations
impl<K, V, T, R> Cursor<K, V, T, R> for OrdValCursor<V, T, R> where
K: Ord + Clone,
V: Ord + Clone,
T: Lattice + Ord + Clone,
R: Monoid,
[src]
K: Ord + Clone,
V: Ord + Clone,
T: Lattice + Ord + Clone,
R: Monoid,
type Storage = OrdValBatch<K, V, T, R>
Type the cursor addresses data in.
fn key<'a>(&self, storage: &'a Self::Storage) -> &'a K
[src]
fn val<'a>(&self, storage: &'a Self::Storage) -> &'a V
[src]
fn map_times<L: FnMut(&T, &R)>(&mut self, storage: &Self::Storage, logic: L)
[src]
fn key_valid(&self, storage: &Self::Storage) -> bool
[src]
fn val_valid(&self, storage: &Self::Storage) -> bool
[src]
fn step_key(&mut self, storage: &Self::Storage)
[src]
fn seek_key(&mut self, storage: &Self::Storage, key: &K)
[src]
fn step_val(&mut self, storage: &Self::Storage)
[src]
fn seek_val(&mut self, storage: &Self::Storage, val: &V)
[src]
fn rewind_keys(&mut self, storage: &Self::Storage)
[src]
fn rewind_vals(&mut self, storage: &Self::Storage)
[src]
fn get_key<'a>(&self, storage: &'a Self::Storage) -> Option<&'a K>
[src]
Returns a reference to the current key, if valid.
fn get_val<'a>(&self, storage: &'a Self::Storage) -> Option<&'a V>
[src]
Returns a reference to the current value, if valid.
impl<V: Debug + Ord + Clone, T: Debug + Lattice + Ord + Clone, R: Debug + Monoid> Debug for OrdValCursor<V, T, R>
[src]
Auto Trait Implementations
impl<V, T, R> Send for OrdValCursor<V, T, R>
impl<V, T, R> Unpin for OrdValCursor<V, T, R>
impl<V, T, R> Sync for OrdValCursor<V, T, R>
impl<V, T, R> UnwindSafe for OrdValCursor<V, T, R>
impl<V, T, R> RefUnwindSafe for OrdValCursor<V, T, R>
Blanket Implementations
impl<C, K, V, T, R> CursorDebug<K, V, T, R> for C where
C: Cursor<K, V, T, R>,
K: Clone,
R: Clone,
T: Clone,
V: Clone,
[src]
C: Cursor<K, V, T, R>,
K: Clone,
R: Clone,
T: Clone,
V: Clone,
fn to_vec(&mut self, storage: &Self::Storage) -> Vec<((K, V), Vec<(T, R)>)>
[src]
Rewinds the cursor and outputs its contents to a Vec
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,