SelectionSort

Trait SelectionSort 

Source
pub trait SelectionSort<T> {
    // Required methods
    fn selection_sort(&mut self);
    fn selection_sort_by(&mut self, by: FnMustSwap<T>);
}

Required Methods§

Source

fn selection_sort(&mut self)

Source

fn selection_sort_by(&mut self, by: FnMustSwap<T>)

Implementations on Foreign Types§

Source§

impl<T> SelectionSort<T> for Vec<T>
where T: PartialOrd,

Implementors§