itertools

Function put_back_n

Source
pub fn put_back_n<I>(iterable: I) -> PutBackN<I::IntoIter> 
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.