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
ContinueContinue looping and waiting for events.
BreakBreak from the event loop.
Trait Implementations
impl Copy for ControlFlow[src]
impl Clone for ControlFlow[src]
fn clone(&self) -> ControlFlow[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for ControlFlow[src]
impl PartialEq for ControlFlow[src]
fn eq(&self, __arg_0: &ControlFlow) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.