naga::proc::overloads::utils

Function pairs

Source
pub fn pairs<T: Clone, U>(
    left: impl Iterator<Item = T>,
    right: impl Iterator<Item = U> + Clone,
) -> impl Iterator<Item = (T, U)>
Expand description

Return the cartesian product of two iterators.