pub trait TupleSortedByKeyDesc<T> {
// Required method
fn sorted_by_key_desc<K>(self, selector: impl FnMut(&T) -> K) -> Self
where K: PartialOrd;
}
Expand description
Sort tuples in reverse order, currently use sort_selection
Required Methods§
Sourcefn sorted_by_key_desc<K>(self, selector: impl FnMut(&T) -> K) -> Selfwhere
K: PartialOrd,
fn sorted_by_key_desc<K>(self, selector: impl FnMut(&T) -> K) -> Selfwhere
K: PartialOrd,
Sort tuples in reverse order, currently use sort_selection
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.