pub trait TupleSortSelection<T> {
    // Required method
    fn sort_selection(&mut self);
}
Expand description

Sort tuples using selection sort

Required Methods§

source

fn sort_selection(&mut self)

Sort tuples using selection sort

It has an O(n2) time complexity

Implementors§

source§

impl<T: PartialOrd, S: TupleSame<T> + TupleSwap<Output = T>> TupleSortSelection<T> for S