Trait SortExt

pub trait SortExt<T> {
    // Required method
    fn sort_by_index(&mut self, indices: &mut [usize]);
}
Expand description

Extends sorting of vectors and slices by index in-place

Required Methods§

fn sort_by_index(&mut self, indices: &mut [usize])

Implementations on Foreign Types§

§

impl<T: Clone> SortExt<T> for [T]

§

fn sort_by_index(&mut self, indices: &mut [usize])

Implementors§