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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EventLoopQuitBehavior
impl Send for EventLoopQuitBehavior
impl Sync for EventLoopQuitBehavior
impl Unpin for EventLoopQuitBehavior
impl UnwindSafe for EventLoopQuitBehavior
Blanket Implementations
Mutably borrows from an owned value. Read more