Searched refs:sorted_by_key (Results 1 – 3 of 3) sorted by relevance
465 fn sorted_by_key() { in sorted_by_key() function466 let sc = [3, 4, 1, 2].iter().cloned().sorted_by_key(|&x| x); in sorted_by_key()469 let v = (0..5).sorted_by_key(|&x| -x); in sorted_by_key()
98 - Add new method `.sorted_by_key()` by @Xion
2418 fn sorted_by_key<K, F>(self, f: F) -> VecIntoIter<Self::Item> in sorted_by_key() method