pub enum GameState {
Win,
Draw,
Lose,
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<GameState> for GameState
impl PartialEq<GameState> for GameState
impl Eq for GameState
impl StructuralEq for GameState
impl StructuralPartialEq for GameState
Auto Trait Implementations§
impl RefUnwindSafe for GameState
impl Send for GameState
impl Sync for GameState
impl Unpin for GameState
impl UnwindSafe for GameState
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