Function bisect_left

Source
pub fn bisect_left<T, U>(list: &[T], x: U, key: fn(&T) -> U) -> Option<usize>
where U: PartialOrd + Ord,