Trait memtable::prelude::CellIter [−][src]
pub trait CellIter<T>: Iterator<Item = T> { fn row(&self) -> usize; fn col(&self) -> usize; fn next_with_pos(&mut self) -> Option<(Position, T)> { ... } fn zip_with_position(self) -> ZipPosition<T, Self>ⓘ{ ... } }Notable traits for ZipPosition<T, I>
impl<T, I> Iterator for ZipPosition<T, I> where
I: CellIter<T>, type Item = (Position, T);
Expand description
Represents an iterator over some part of a table at the granularity of individual cells within the table
Required methods
Provided methods
Consumes next item in iterator, returning it with the cell’s position
fn zip_with_position(self) -> ZipPosition<T, Self>ⓘNotable traits for ZipPosition<T, I>
impl<T, I> Iterator for ZipPosition<T, I> where
I: CellIter<T>, type Item = (Position, T);
fn zip_with_position(self) -> ZipPosition<T, Self>ⓘNotable traits for ZipPosition<T, I>
impl<T, I> Iterator for ZipPosition<T, I> where
I: CellIter<T>, type Item = (Position, T);
Zips up a cell iterator with the cell’s position