pub enum NextLoopState {
Continue,
Exit(i32),
}Expand description
Return type for the next loop state. Used to determine if the game loop should continue or exit.
Variants§
Trait Implementations§
Source§impl Clone for NextLoopState
impl Clone for NextLoopState
Source§fn clone(&self) -> NextLoopState
fn clone(&self) -> NextLoopState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NextLoopState
impl Debug for NextLoopState
Source§impl PartialEq for NextLoopState
impl PartialEq for NextLoopState
impl Copy for NextLoopState
impl StructuralPartialEq for NextLoopState
Auto Trait Implementations§
impl Freeze for NextLoopState
impl RefUnwindSafe for NextLoopState
impl Send for NextLoopState
impl Sync for NextLoopState
impl Unpin for NextLoopState
impl UnwindSafe for NextLoopState
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