Trait flatk::BinarySearch[][src]

pub trait BinarySearch<T> {
    fn binary_search(&self, x: &T) -> Result<usize, usize>;
}

Required methods

Binary search for a given element.

The semantics of this function are identical to Rust’s std::slice::binary_search.

Implementors