Function binary_search

Source
pub fn binary_search<T, F>(low: T, high: T, f: F) -> T
where T: Num + PartialOrd + Copy, F: FnMut(T) -> bool,