Home
last modified time | relevance | path

Searched refs:PermutationState (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/itertools/src/
Dpermutations.rs15 state: PermutationState,
26 enum PermutationState { enum
67 let state = PermutationState::Complete(CompleteState::Start { n: 0, k: 0 }); in permutations()
85 PermutationState::StartUnknownLen { k } in permutations()
87 PermutationState::Empty in permutations()
109 PermutationState::StartUnknownLen { .. } => panic!("unexpected iterator state"), in next()
110 PermutationState::OngoingUnknownLen { k, min_n } => { in next()
116 PermutationState::Complete(CompleteState::Start { .. }) => None, in next()
117 PermutationState::Complete(CompleteState::Ongoing { ref indices, ref cycles }) => { in next()
122 PermutationState::Empty => None in next()
[all …]