devela::_dep::itertools

Function interleave

pub fn interleave<I, J>(
    i: I,
    j: J,
) -> Interleave<<I as IntoIterator>::IntoIter, <J as IntoIterator>::IntoIter> 
where I: IntoIterator, J: IntoIterator<Item = <I as IntoIterator>::Item>,
Available on crate feature dep_itertools only.
Expand description

Create an iterator that interleaves elements in i and j.

IntoIterator enabled version of Itertools::interleave.