Function std::cmp::min_by_key 1.53.0[−][src]
#[must_use]
pub fn min_by_key<T, F, K>(v1: T, v2: T, f: F) -> T where
F: FnMut(&T) -> K,
K: Ord,
#[must_use]
pub fn min_by_key<T, F, K>(v1: T, v2: T, f: F) -> T where
F: FnMut(&T) -> K,
K: Ord,