Enum runestick::GeneratorState [−][src]
Expand description
The state of a generator.
Variants
The generator yielded.
Tuple Fields of Yielded
0: Value
The generator completed.
Tuple Fields of Complete
0: Value
Implementations
Test if the state is yielded.
Test if the state is complete.
Trait Implementations
Performs the conversion.
Try to convert to the given type, from the given value.
type Output = *const GeneratorState
type Output = *const GeneratorState
The output type from the unsafe coercion.
Convert the given reference using unsafe assumptions to a value. Read more
Coerce the output of an unsafe from value into the final output type. Read more
type Output = *mut GeneratorState
type Output = *mut GeneratorState
The output type from the unsafe coercion.
Convert the given reference using unsafe assumptions to a value. Read more
Coerce the output of an unsafe from value into the final output type. Read more