Struct differential_dataflow::trace::layers::ordered::OrderedCursor
[−]
[src]
pub struct OrderedCursor<L: Trie> { pub child: L::Cursor, // some fields omitted }
A cursor with a child cursor that is updated as we move.
Fields
child: L::Cursor
The cursor for the trie layer below this one.
Trait Implementations
impl<L: Debug + Trie> Debug for OrderedCursor<L> where
L::Cursor: Debug,
[src]
L::Cursor: Debug,
impl<K: Ord, L: Trie> Cursor<OrderedLayer<K, L>> for OrderedCursor<L>
[src]
type Key = K
The type revealed by the cursor.
fn key<'a>(&self, storage: &'a OrderedLayer<K, L>) -> &'a Self::Key
[src]
Reveals the current key.
fn step(&mut self, storage: &OrderedLayer<K, L>)
[src]
Advances the cursor by one element.
fn seek(&mut self, storage: &OrderedLayer<K, L>, key: &Self::Key)
[src]
Advances the cursor until the location where key
would be expected.
fn valid(&self, _storage: &OrderedLayer<K, L>) -> bool
[src]
Returns true
if the cursor points at valid data. Returns false
if the cursor is exhausted.
fn rewind(&mut self, storage: &OrderedLayer<K, L>)
[src]
Rewinds the cursor to its initial state.
fn reposition(
&mut self,
storage: &OrderedLayer<K, L>,
lower: usize,
upper: usize
)
[src]
&mut self,
storage: &OrderedLayer<K, L>,
lower: usize,
upper: usize
)
Repositions the cursor to a different range of values.