Struct proptest::sample::SelectorValueTree [−][src]
pub struct SelectorValueTree { /* fields omitted */ }
ValueTree
corresponding to SelectorStrategy
.
Trait Implementations
impl Debug for SelectorValueTree
[src]
impl Debug for SelectorValueTree
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ValueTree for SelectorValueTree
[src]
impl ValueTree for SelectorValueTree
type Value = Selector
The type of the value produced by this ValueTree
.
fn current(&self) -> Selector
[src]
fn current(&self) -> Selector
Returns the current value.
fn simplify(&mut self) -> bool
[src]
fn simplify(&mut self) -> bool
Attempts to simplify the current value. Notionally, this sets the "high" value to the current value, and the current value to a "halfway point" between high and low, rounding towards low. Read more
fn complicate(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
Attempts to partially undo the last simplification. Notionally, this sets the "low" value to one plus the current value, and the current value to a "halfway point" between high and the new low, rounding towards low. Read more
Auto Trait Implementations
impl Send for SelectorValueTree
impl Send for SelectorValueTree
impl Sync for SelectorValueTree
impl Sync for SelectorValueTree