fn get_permutation(mask: u64, index: u64) -> u64
Expand description

Gets index-th permutation of the mask.