Trait nommy::Buffer [−][src]
Associated Types
Loading content...Required methods
Loading content...Implementors
impl<'a, I: Iterator> Buffer<<I as Iterator>::Item> for Cursor<'a, I> where
I::Item: Clone,
[src]
I::Item: Clone,
type Iter = I
fn cursor(&mut self) -> Cursor<'_, I>ⓘ
[src]
fn fast_forward(&mut self, n: usize)
[src]
Skip forward n
steps in the iterator
Often paired with Cursor::cursor and Cursor::close
impl<I: Iterator> Buffer<<I as Iterator>::Item> for Buf<I>
[src]
type Iter = I
fn cursor(&mut self) -> Cursor<'_, I>ⓘ
[src]
Create a Cursor over this buffer
fn fast_forward(&mut self, n: usize)
[src]
Skip forward n
steps in the iterator
Often paired with Cursor::cursor and Cursor::close