Searched refs:CompleteState (Results 1 – 1 of 1) sorted by relevance
34 Complete(CompleteState),39 enum CompleteState { enum67 let state = PermutationState::Complete(CompleteState::Start { n: 0, k: 0 }); in permutations()116 PermutationState::Complete(CompleteState::Start { .. }) => None, in next()117 PermutationState::Complete(CompleteState::Ongoing { ref indices, ref cycles }) => { in next()129 fn from_complete(complete_state: CompleteState) -> usize { in count()141 let complete_state = CompleteState::Start { n, k }; in count()148 let complete_state = CompleteState::Start { n, k }; in count()188 let mut complete_state = CompleteState::Start { n, k }; in advance()208 impl CompleteState { impl[all …]