Lines Matching refs:Permutations
13 pub struct Permutations<I: Iterator> { struct
18 impl<I> Clone for Permutations<I> argument
55 impl<I> fmt::Debug for Permutations<I> implementation
59 debug_fmt_fields!(Permutations, vals, state);
62 pub fn permutations<I: Iterator>(iter: I, k: usize) -> Permutations<I> { in permutations()
69 return Permutations { in permutations()
90 Permutations { in permutations()
96 impl<I> Iterator for Permutations<I> implementation
106 let &mut Permutations { ref vals, ref state } = self; in next()
127 let Permutations { vals, state } = self; in count() localVariable
170 impl<I> Permutations<I> implementation
176 let &mut Permutations { ref mut vals, ref mut state } = self; in advance()