pub trait Peekable: Iterator {
    // Required method
    fn peek(&self) -> Option<Self::Item>;
}

Required Methods§

fn peek(&self) -> Option<Self::Item>

Returns the next() value without advancing the iterator.

Implementors§

§

impl<'a> Peekable for BitIterator<'a>

§

impl<'a> Peekable for NibbleIterator<'a>