Function itertools::put_back_n[][src]

pub fn put_back_n<I>(iterable: I) -> PutBackN<I::IntoIter>

Notable traits for PutBackN<I>

impl<I: Iterator> Iterator for PutBackN<I> type Item = I::Item;
where
    I: IntoIterator
Expand description

Create an iterator where you can put back multiple values to the front of the iteration.

Iterator element type is I::Item.