Function glidesort::sort_in_vec_by_key
source · pub fn sort_in_vec_by_key<T, F: FnMut(&T) -> K, K: Ord>(v: &mut Vec<T>, f: F)
Expand description
Like sort_by_key
, except this function allocates its space at the end of the given Vec
.