[][src]Struct smoke::generator::Depends

pub struct Depends<G, F> { /* fields omitted */ }

Dependent generator where the second items depends on what has been generated by the first generator

Trait Implementations

impl<G1, G2, F> Generator for Depends<G1, F> where
    G1: Generator,
    G2: Generator,
    F: Fn(&G1::Item) -> G2, 
[src]

type Item = (G1::Item, G2::Item)

Type generated by the generator

Auto Trait Implementations

impl<G, F> RefUnwindSafe for Depends<G, F> where
    F: RefUnwindSafe,
    G: RefUnwindSafe

impl<G, F> Send for Depends<G, F> where
    F: Send,
    G: Send

impl<G, F> Sync for Depends<G, F> where
    F: Sync,
    G: Sync

impl<G, F> Unpin for Depends<G, F> where
    F: Unpin,
    G: Unpin

impl<G, F> UnwindSafe for Depends<G, F> where
    F: UnwindSafe,
    G: UnwindSafe

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, 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.