pub enum LoopAction {
Render,
Skip,
ForceQuit,
}Variants§
Implementations§
Source§impl LoopAction
impl LoopAction
Trait Implementations§
Source§impl Debug for LoopAction
impl Debug for LoopAction
Source§impl Default for LoopAction
impl Default for LoopAction
Source§fn default() -> LoopAction
fn default() -> LoopAction
Returns the “default value” for a type. Read more
Source§impl PartialEq for LoopAction
impl PartialEq for LoopAction
Source§fn eq(&self, other: &LoopAction) -> bool
fn eq(&self, other: &LoopAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoopAction
Auto Trait Implementations§
impl Freeze for LoopAction
impl RefUnwindSafe for LoopAction
impl Send for LoopAction
impl Sync for LoopAction
impl Unpin for LoopAction
impl UnsafeUnpin for LoopAction
impl UnwindSafe for LoopAction
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more