pub enum QuitStep {
ExitNow,
Drain,
AlreadyDraining,
}Expand description
What a quit request should do.
Variants§
ExitNow
Proceed with the exit now (drain not enabled, already exiting, or no renderer to drain).
Drain
Emit quit-requested, prevent the exit and arm the bound.
AlreadyDraining
A drain is already running: prevent the exit, emit nothing.
Trait Implementations§
impl Copy for QuitStep
impl Eq for QuitStep
impl StructuralPartialEq for QuitStep
Auto Trait Implementations§
impl Freeze for QuitStep
impl RefUnwindSafe for QuitStep
impl Send for QuitStep
impl Sync for QuitStep
impl Unpin for QuitStep
impl UnsafeUnpin for QuitStep
impl UnwindSafe for QuitStep
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.