pub trait Bisect: Clone {
// Required method
fn bisect_middle_point(&self, other: &Self) -> Option<Self>;
}Expand description
binary search helper
Required Methods§
Sourcefn bisect_middle_point(&self, other: &Self) -> Option<Self>
fn bisect_middle_point(&self, other: &Self) -> Option<Self>
Return between two elements if search is not end.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.