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
Continue looping and waiting for events.
Break
Break from the event loop.
Trait Implementations
impl Copy for ControlFlow
[src]
impl Copy for ControlFlow
impl Clone for ControlFlow
[src]
impl Clone for ControlFlow
fn clone(&self) -> ControlFlow
[src]
fn clone(&self) -> ControlFlow
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ControlFlow
[src]
impl Debug for ControlFlow
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ControlFlow
[src]
impl PartialEq for ControlFlow
fn eq(&self, other: &ControlFlow) -> bool
[src]
fn eq(&self, other: &ControlFlow) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ControlFlow
[src]
impl Eq for ControlFlow
Auto Trait Implementations
impl Send for ControlFlow
impl Send for ControlFlow
impl Sync for ControlFlow
impl Sync for ControlFlow