devela::_dep::itertools

Function cons_tuples

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

Create an iterator that maps for example iterators of ((A, B), C) to (A, B, C).