Enum generator_ext::gen::State [−][src]
pub enum State<Y, R> { Yield(Y), Return(R), }
Indicates the State of Generator. This Enum is used by functions and methods that advance a Generator.
Variants
Yield(Y)
Return(R)
Trait Implementations
impl<Y: Debug, R: Debug> Debug for State<Y, R>
[src]
impl<Y: Debug, R: Debug> Debug for State<Y, R>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Y, R: Into<Y>> Into<Option<Y>> for State<Y, R>
[src]
impl<Y, R: Into<Y>> Into<Option<Y>> for State<Y, R>