pub enum TransitionUpdate {
    Immediate,
    Update,
    WaitForEvent,
}
Expand description

Desired behavior for the next update, to be returned from an update call.

Variants

Immediate

Run the next update immediately, without waiting for the next frame.

Update

Wait a frame before the next update; this will likely draw the mode for a frame.

WaitForEvent

Wait for an input event before the next update; this will likely draw the mode before waiting.

Trait Implementations

Formats the value using the given formatter. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.