[][src]Struct un_algebra::tests::config::prop::strategy::Filter

#[must_use = "strategies do nothing unless used"]
pub struct Filter<S, F> { /* fields omitted */ }

Strategy and ValueTree filter adaptor.

See Strategy::prop_filter().

Trait Implementations

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

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

impl<S, F> ValueTree for Filter<S, F> where
    F: Fn(&<S as ValueTree>::Value) -> bool,
    S: ValueTree
[src]

type Value = <S as ValueTree>::Value

The type of the value produced by this ValueTree.

impl<S, F> Strategy for Filter<S, F> where
    F: Fn(&<S as Strategy>::Value) -> bool,
    S: Strategy
[src]

type Tree = Filter<<S as Strategy>::Tree, F>

The value tree generated by this Strategy.

type Value = <S as Strategy>::Value

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

Auto Trait Implementations

impl<S, F> Send for Filter<S, F> where
    F: Send + Sync,
    S: Send

impl<S, F> Sync for Filter<S, F> where
    F: Send + Sync,
    S: Sync

impl<S, F> Unpin for Filter<S, F> where
    S: Unpin

impl<S, F> UnwindSafe for Filter<S, F> where
    F: RefUnwindSafe,
    S: UnwindSafe

impl<S, F> RefUnwindSafe for Filter<S, F> where
    F: RefUnwindSafe,
    S: RefUnwindSafe

Blanket Implementations

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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,