Function glidesort::sort_in_vec_by
source · pub fn sort_in_vec_by<T, F>(v: &mut Vec<T>, compare: F)where
F: FnMut(&T, &T) -> Ordering,
Expand description
Like sort_by
, except this function allocates its space at the end of the given Vec
.