Function itertools::adaptors::cartesian_product

source ·
pub fn cartesian_product<I, J>(i: I, j: J) -> Product<I, J> 
where I: Iterator, J: Clone + Iterator, I::Item: Clone,
Expand description

Create a new cartesian product iterator

Iterator element type is (I::Item, J::Item).