Enum winit::ControlFlow[][src]

pub enum ControlFlow {
    Continue,
    Break,
}

Returned by the user callback given to the EventsLoop::run_forever method.

Indicates whether the run_forever method should continue or complete.

Variants

Continue looping and waiting for events.

Break from the event loop.

Trait Implementations

impl Copy for ControlFlow
[src]

impl Clone for ControlFlow
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ControlFlow
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ControlFlow
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ControlFlow
[src]

Auto Trait Implementations

impl Send for ControlFlow

impl Sync for ControlFlow