pub struct OptimalSearch;Expand description
Chooses between binary and linear search depending on the size of the slice to search
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OptimalSearch
impl RefUnwindSafe for OptimalSearch
impl Send for OptimalSearch
impl Sync for OptimalSearch
impl Unpin for OptimalSearch
impl UnsafeUnpin for OptimalSearch
impl UnwindSafe for OptimalSearch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more