Struct BinarySearch
pub struct BinarySearch { /* private fields */ }
Shrinks an integer towards 0, using binary search to find boundary points.
Implementations
impl BinarySearch
fn new(start: u32) -> SelfCreates a new binary searcher starting at the given value.
fn new_above(lo: u32, start: u32) -> SelfCreates a new binary searcher which will not search below the given
lovalue.
Trait Implementations
impl Clone for BinarySearch
fn clone(&self) -> Self
impl Copy for BinarySearch
impl Debug for BinarySearch
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl ValueTree for BinarySearch
type Value = u32;fn current(&self) -> u32fn simplify(&mut self) -> boolfn complicate(&mut self) -> bool