Enum glutin::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 Clone for ControlFlow[src]
impl Clone for ControlFlowfn clone(&self) -> ControlFlow[src]
fn clone(&self) -> ControlFlowReturns 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 ControlFlowfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for ControlFlow[src]
impl Copy for ControlFlowimpl Eq for ControlFlow[src]
impl Eq for ControlFlowimpl PartialEq<ControlFlow> for ControlFlow[src]
impl PartialEq<ControlFlow> for ControlFlowAuto Trait Implementations
impl Send for ControlFlow
impl Send for ControlFlowimpl Sync for ControlFlow
impl Sync for ControlFlow