Crate into_sorted

Source
Expand description

Collection of utility methods and functions that take an owned array and return a sorted owned array.

Features:

  • alloc: Provides stable sorting functions and methods which require allocations. This feature is enabled by default.

Modules§

prelude

Traits§

IntoSorted
Utility methods to sort various types of arrays with a stable algorithm (requires allocation).
IntoSortedUnstable
Utility methods to sort various types of arrays with an unstable algorithm.

Functions§

into_sorted
Sort an array by Ord and return it.
into_sorted_by
Sort an array by a function and return it.
into_sorted_by_cached_key
Sort an array by a key extraction function (which would be called at most once per element) and return it.
into_sorted_by_key
Sort an array by a key extraction function and return it.
into_sorted_unstable
Sort an array by Ord and return it.
into_sorted_unstable_by
Sort an array by a function and return it.
into_sorted_unstable_by_key
Sort an array by a key extraction function and return it.