pub enum EventLoopControl {
Poll,
Wait,
WaitUntil(Instant),
Exit,
}Expand description
Control flow returned by event loop handlers.
Variants§
Trait Implementations§
Source§impl Clone for EventLoopControl
impl Clone for EventLoopControl
Source§fn clone(&self) -> EventLoopControl
fn clone(&self) -> EventLoopControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EventLoopControl
Source§impl Debug for EventLoopControl
impl Debug for EventLoopControl
Source§impl Default for EventLoopControl
impl Default for EventLoopControl
Source§fn default() -> EventLoopControl
fn default() -> EventLoopControl
Returns the “default value” for a type. Read more
impl Eq for EventLoopControl
Source§impl PartialEq for EventLoopControl
impl PartialEq for EventLoopControl
impl StructuralPartialEq for EventLoopControl
Auto Trait Implementations§
impl Forget for EventLoopControl
impl Freeze for EventLoopControl
impl Move for EventLoopControl
impl RefUnwindSafe for EventLoopControl
impl Send for EventLoopControl
impl Sync for EventLoopControl
impl Unpin for EventLoopControl
impl UnsafeUnpin for EventLoopControl
impl UnwindSafe for EventLoopControl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.