Trait generator_ext::iter::YieldIterExt[][src]

pub trait YieldIterExt: Senerator {
    type Iter: Iterator;
    fn iter_yielded(self) -> Self::Iter;
}

This trait converts any type implementing Gen to an Iterator. The Iterator should only return the Yield variants of State, and ignore the Return variant.

Associated Types

The Iterator returned.

Required Methods

Returns the Iterator. The Iterator should only return the Yielded items from the underlying Generator

Implementors