Module permutation

Source

Structs§

Permutation

Functions§

sort
Return the permutation that would sort a given slice.
sort_by
Return the permutation that would sort a given slice by a comparator.
sort_by_key
Return the permutation that would sort a given slice by a key function.
sort_unstable
Return the permutation that would sort a given slice, but might not preserve the order of equal elements.
sort_unstable_by
Return the permutation that would sort a given slice by a comparator, but might not preserve the order of equal elements.
sort_unstable_by_key
Return the permutation that would sort a given slice by a key function, but might not preserve the order of equal elements.