Struct BinarySearch
pub struct BinarySearch { /* private fields */ }
Shrinks a float towards 0, using binary search to find boundary points.
Non-finite values immediately shrink to 0.
Implementations
impl BinarySearch
fn new(start: f64) -> SelfCreates a new binary searcher starting at the given value.
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 = f64;fn current(&self) -> f64fn simplify(&mut self) -> boolfn complicate(&mut self) -> bool