TupleSortedBy

Trait TupleSortedBy 

Source
pub trait TupleSortedBy<T> {
    // Required method
    fn sorted_by(self, cmp: impl FnMut(&T, &T) -> Ordering) -> Self;
}
Expand description

Sort tuples, currently use sort_selection

Required Methods§

Source

fn sorted_by(self, cmp: impl FnMut(&T, &T) -> Ordering) -> Self

Sort tuples, 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> TupleSortedBy<T> for S
where S: TupleSortBy<T>,