Function itertools::adaptors::multi_product::multi_cartesian_product
source · pub fn multi_cartesian_product<H>(
iters: H,
) -> MultiProduct<<H::Item as IntoIterator>::IntoIter> ⓘwhere
H: Iterator,
H::Item: IntoIterator,
<H::Item as IntoIterator>::IntoIter: Clone,
<H::Item as IntoIterator>::Item: Clone,
Expand description
Create a new cartesian product iterator over an arbitrary number of iterators of the same type.
Iterator element is of type Vec<H::Item::Item>
.