Enum nannou::ui::backend::glium::glium::backend::glutin::glutin::ControlFlow [−]
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 Clone for ControlFlow
impl Clone for ControlFlow
fn clone(&self) -> ControlFlow
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
impl Debug for ControlFlow
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for ControlFlow
impl Copy for ControlFlow
impl Eq for ControlFlow
impl Eq for ControlFlow
impl PartialEq<ControlFlow> for ControlFlow
impl PartialEq<ControlFlow> for ControlFlow
Auto Trait Implementations
impl Send for ControlFlow
impl Send for ControlFlow
impl Sync for ControlFlow
impl Sync for ControlFlow