pub struct BoolStrategy;Trait Implementations§
Source§impl Clone for BoolStrategy
impl Clone for BoolStrategy
Source§fn clone(&self) -> BoolStrategy
fn clone(&self) -> BoolStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoolStrategy
impl Debug for BoolStrategy
Source§impl Generator<bool> for BoolStrategy
impl Generator<bool> for BoolStrategy
Source§impl Strategy for BoolStrategy
impl Strategy for BoolStrategy
Source§fn generate<R: Rng>(&self, rng: &mut R, config: &GeneratorConfig) -> bool
fn generate<R: Rng>(&self, rng: &mut R, config: &GeneratorConfig) -> bool
Generate a value using this strategy
Source§fn shrink(&self, value: &bool) -> Box<dyn Iterator<Item = bool>>
fn shrink(&self, value: &bool) -> Box<dyn Iterator<Item = bool>>
Create an iterator of shrunk values from the given value
Source§fn map<F, U>(self, f: F) -> Map<Self, F>
fn map<F, U>(self, f: F) -> Map<Self, F>
Map this strategy to produce values of a different type
Auto Trait Implementations§
impl Freeze for BoolStrategy
impl RefUnwindSafe for BoolStrategy
impl Send for BoolStrategy
impl Sync for BoolStrategy
impl Unpin for BoolStrategy
impl UnwindSafe for BoolStrategy
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