Function itertools::interleave[][src]

pub fn interleave<I, J>(
    i: I,
    j: J
) -> Interleave<<I as IntoIterator>::IntoIter, <J as IntoIterator>::IntoIter>
Notable traits for Interleave<I, J>
impl<I, J> Iterator for Interleave<I, J> where
    I: Iterator,
    J: Iterator<Item = I::Item>, 
type Item = I::Item;
where
    I: IntoIterator,
    J: IntoIterator<Item = I::Item>, 
Expand description

Create an iterator that interleaves elements in i and j.

IntoIterator enabled version of i.interleave(j).

See .interleave() for more information.