[−][src]Struct differential_dataflow::trace::implementations::ord::OrdKeyCursor
A cursor for navigating a single layer.
Trait Implementations
impl<K: Ord + Clone, T: Lattice + Ord + Clone, R: Monoid> Cursor<K, (), T, R> for OrdKeyCursor<T, R>[src]
type Storage = OrdKeyBatch<K, 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 ()[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: &())[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<T: Debug + Lattice + Ord + Clone, R: Debug + Monoid> Debug for OrdKeyCursor<T, R>[src]
Auto Trait Implementations
impl<T, R> Sync for OrdKeyCursor<T, R>
impl<T, R> Unpin for OrdKeyCursor<T, R>
impl<T, R> Send for OrdKeyCursor<T, R>
impl<T, R> UnwindSafe for OrdKeyCursor<T, R>
impl<T, R> RefUnwindSafe for OrdKeyCursor<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> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,