Trait TupleSortedByKeyDesc

Source
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§

Source

fn sorted_by_key_desc<K>(self, selector: impl FnMut(&T) -> K) -> Self
where 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.

Implementors§

Source§

impl<T, S> TupleSortedByKeyDesc<T> for S
where S: TupleSortByKeyDesc<T>,