Struct fringe::generator::Yielder [] [src]

pub struct Yielder<Input: Send, Output: Send> { /* fields omitted */ }

Yielder is an interface provided to every generator through which it returns a value.

Methods

impl<Input, Output> Yielder<Input, Output> where
    Input: Send,
    Output: Send
[src]

Suspends the generator and returns Some(item) from the resume() invocation that resumed the generator.

Trait Implementations

impl<Input: Debug + Send, Output: Debug + Send> Debug for Yielder<Input, Output>
[src]

Formats the value using the given formatter.