Struct proptest::strategy::IndFlattenMap[][src]

pub struct IndFlattenMap<S, F> { /* fields omitted */ }

Similar to Map plus Flatten, but does not shrink the input strategy and passes the original input through.

See Strategy::prop_ind_flat_map2() for more details.

Trait Implementations

impl<S: Clone, F> Clone for IndFlattenMap<S, F>[src]

impl<S: Debug, F> Debug for IndFlattenMap<S, F>[src]

impl<S: Strategy, R: Strategy, F: Fn(S::Value) -> R> Strategy for IndFlattenMap<S, F>[src]

type Tree = TupleValueTree<(S::Tree, R::Tree)>

The value tree generated by this Strategy.

type Value = (S::Value, R::Value)

The type of value used by functions under test generated by this Strategy. Read more

Auto Trait Implementations

impl<S, F> RefUnwindSafe for IndFlattenMap<S, F> where
    F: RefUnwindSafe,
    S: RefUnwindSafe
[src]

impl<S, F> Send for IndFlattenMap<S, F> where
    F: Send + Sync,
    S: Send
[src]

impl<S, F> Sync for IndFlattenMap<S, F> where
    F: Send + Sync,
    S: Sync
[src]

impl<S, F> Unpin for IndFlattenMap<S, F> where
    S: Unpin
[src]

impl<S, F> UnwindSafe for IndFlattenMap<S, F> where
    F: RefUnwindSafe,
    S: UnwindSafe
[src]

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,