pub enum GameOverState {
WhiteResign,
BlackResign,
AgreedDraw,
Forced(GameState),
}Variants§
Trait Implementations§
Source§impl Clone for GameOverState
impl Clone for GameOverState
Source§fn clone(&self) -> GameOverState
fn clone(&self) -> GameOverState
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 GameOverState
impl Debug for GameOverState
Source§impl PartialEq for GameOverState
impl PartialEq for GameOverState
impl Copy for GameOverState
impl Eq for GameOverState
impl StructuralPartialEq for GameOverState
Auto Trait Implementations§
impl Freeze for GameOverState
impl RefUnwindSafe for GameOverState
impl Send for GameOverState
impl Sync for GameOverState
impl Unpin for GameOverState
impl UnwindSafe for GameOverState
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