[−][src]Struct differential_dataflow::trace::cursor::cursor_pair::CursorPair
A cursor over the combined updates of two different cursors.
A CursorPair wraps two cursors over the same types of updates, and provides navigation
through their merged updates.
Trait Implementations
impl<K, V, T, R, C1, C2> Cursor<K, V, T, R> for CursorPair<C1, C2> where
K: Ord,
V: Ord,
C1: Cursor<K, V, T, R>,
C2: Cursor<K, V, T, R>, [src]
K: Ord,
V: Ord,
C1: Cursor<K, V, T, R>,
C2: Cursor<K, V, T, R>,
type Storage = (C1::Storage, C2::Storage)
Type the cursor addresses data in.
fn key_valid(&self, storage: &Self::Storage) -> bool[src]
fn val_valid(&self, storage: &Self::Storage) -> bool[src]
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 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.
Auto Trait Implementations
impl<C1, C2> Sync for CursorPair<C1, C2> where
C1: Sync,
C2: Sync,
C1: Sync,
C2: Sync,
impl<C1, C2> Unpin for CursorPair<C1, C2> where
C1: Unpin,
C2: Unpin,
C1: Unpin,
C2: Unpin,
impl<C1, C2> Send for CursorPair<C1, C2> where
C1: Send,
C2: Send,
C1: Send,
C2: Send,
impl<C1, C2> RefUnwindSafe for CursorPair<C1, C2> where
C1: RefUnwindSafe,
C2: RefUnwindSafe,
C1: RefUnwindSafe,
C2: RefUnwindSafe,
impl<C1, C2> UnwindSafe for CursorPair<C1, C2> where
C1: UnwindSafe,
C2: UnwindSafe,
C1: UnwindSafe,
C2: UnwindSafe,
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, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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,