pub enum DisplayState {
Playing,
HelpMessageOpen,
Quitting,
WinMessageOpen,
}
Variants§
Trait Implementations§
Source§impl Clone for DisplayState
impl Clone for DisplayState
Source§fn clone(&self) -> DisplayState
fn clone(&self) -> DisplayState
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 DisplayState
impl Debug for DisplayState
Source§impl Hash for DisplayState
impl Hash for DisplayState
Source§impl PartialEq for DisplayState
impl PartialEq for DisplayState
impl Copy for DisplayState
impl Eq for DisplayState
impl StructuralPartialEq for DisplayState
Auto Trait Implementations§
impl Freeze for DisplayState
impl RefUnwindSafe for DisplayState
impl Send for DisplayState
impl Sync for DisplayState
impl Unpin for DisplayState
impl UnwindSafe for DisplayState
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