itertools::permutations

Function permutations

Source
pub fn permutations<I: Iterator>(iter: I, k: usize) -> Permutations<I>