Function indexing::algorithms::binary_search_by
[−]
[src]
pub fn binary_search_by<T, F>(v: &[T], f: F) -> Result<usize, usize> where F: FnMut(&T) -> Ordering
f
is a closure that is passed x
from the slice and should return the
result of x
compared with something.