[][src]Struct differential_dataflow::trace::implementations::ord::OrdKeyCursor

pub struct OrdKeyCursor<T: Lattice + Ord + Clone, R: Monoid> { /* fields omitted */ }

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 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> Send for OrdKeyCursor<T, R>

impl<T, R> Unpin for OrdKeyCursor<T, R>

impl<T, R> Sync 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]

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]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]