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

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

ValueTree type corresponding to MaybeOk.

Trait Implementations

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

type Value = Result<T::Value, E::Value>

The type of the value produced by this ValueTree.

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]

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]

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

Performs copy-assignment from source. 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

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

The resulting type after obtaining ownership.