Struct proptest::result::MaybeOkValueTree [] [src]

pub struct MaybeOkValueTree<T, E>(_)
where
    T: ValueTree,
    E: ValueTree
;

ValueTree type corresponding to MaybeOk.

Trait Implementations

impl<T: Clone, E: Clone> Clone for MaybeOkValueTree<T, E> where
    T: ValueTree,
    E: ValueTree,
    T::Value: Clone,
    E::Value: Clone,
    T::Value: Clone,
    E::Value: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug, E: Debug> Debug for MaybeOkValueTree<T, E> where
    T: ValueTree,
    E: ValueTree,
    T::Value: Debug,
    E::Value: Debug,
    T::Value: Debug,
    E::Value: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<T, E> ValueTree for MaybeOkValueTree<T, E> where
    T: ValueTree,
    E: ValueTree
[src]

The type of the value produced by this ValueTree.

[src]

Returns the current value.

[src]

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

[src]

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<T, E> Send for MaybeOkValueTree<T, E> where
    E: Send,
    T: Send,
    <E as ValueTree>::Value: Send,
    <T as ValueTree>::Value: Send

impl<T, E> Sync for MaybeOkValueTree<T, E> where
    E: Sync,
    T: Sync,
    <E as ValueTree>::Value: Sync,
    <T as ValueTree>::Value: Sync