[−][src]Module out::slice
Functions for use with slices.
Examples
let mut v = [-5, 4, 1, -3, 2]; let max = out::slice::max(&mut v, 3); assert_eq!(max, [1, 2, 4]); assert_eq!(v, [-3, 1, 2, 4, -5]);
Functions
max | Returns the |
max_by | Returns the |
max_by_cached_key | Returns the |
max_by_key | Returns the |
max_unstable | Returns the |
max_unstable_by | Returns the |
max_unstable_by_key | Returns the |
min | Returns the |
min_by | Returns the |
min_by_cached_key | Returns the |
min_by_key | Returns the |
min_unstable | Returns the |
min_unstable_by | Returns the |
min_unstable_by_key | Returns the |