Function itertools::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.