Trait yagen::Generator

source ·
pub trait Generator {
    type Yield;
    type Return;

    fn resume(&mut self) -> GeneratorState<Self::Yield, Self::Return>;
}

Required Associated Types§

Required Methods§

Implementors§

Any &mut Iterator is a ListFn<End = Self>.