Enum sixtyfps_corelib::backend::EventLoopQuitBehavior[][src]

pub enum EventLoopQuitBehavior {
    QuitOnLastWindowClosed,
    QuitOnlyExplicitly,
}
Expand description

Behavior describing how the event loop should terminate.

Variants

QuitOnLastWindowClosed

Terminate the event loop when the last window was closed.

QuitOnlyExplicitly

Keep the event loop running until Backend::quit_event_loop() is called.

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.