devela::_dep::itertools

Function put_back_n

pub fn put_back_n<I>(iterable: I) -> PutBackN<<I as IntoIterator>::IntoIter> 
where I: IntoIterator,
Available on crate feature dep_itertools only.
Expand description

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

Iterator element type is I::Item.