[][src]Struct proptest::strategy::CheckStrategySanityOptions

pub struct CheckStrategySanityOptions {
    pub strict_complicate_after_simplify: bool,
    // some fields omitted
}

Options passed to check_strategy_sanity().

Fields

strict_complicate_after_simplify: bool

If true (the default), require that complicate() return true at least once after any call to simplify() which itself returns once.

This property is not required by contract, but many strategies are designed in a way that this is expected to hold.

Trait Implementations

impl Clone for CheckStrategySanityOptions[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CheckStrategySanityOptions[src]

impl Debug for CheckStrategySanityOptions[src]

impl Default for CheckStrategySanityOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T