Enum runestick::GeneratorState[][src]

pub enum GeneratorState {
    Yielded(Value),
    Complete(Value),
}
Expand description

The state of a generator.

Variants

Yielded

The generator yielded.

Tuple Fields of Yielded

0: Value
Complete

The generator completed.

Tuple Fields of Complete

0: Value

Implementations

Test if the state is yielded.

Test if the state is complete.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Try to convert to the given type, from the given value.

Convert into a value.

Convert into a type hash.

Access diagnostical information on the value type.

The output type from the unsafe coercion.

The raw guard returned. Read more

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

The output type from the unsafe coercion.

The raw guard returned. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.