Enum chess::GameAction
source · [−]Expand description
Contains all actions supported within the game.
Variants
OfferDraw(Color)
AcceptDraw
RefuseDraw
Resign(Color)
Trait Implementations
sourceimpl Clone for GameAction
impl Clone for GameAction
sourcefn clone(&self) -> GameAction
fn clone(&self) -> GameAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GameAction
impl Debug for GameAction
sourceimpl PartialEq<GameAction> for GameAction
impl PartialEq<GameAction> for GameAction
sourcefn eq(&self, other: &GameAction) -> bool
fn eq(&self, other: &GameAction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for GameAction
impl Eq for GameAction
impl StructuralEq for GameAction
impl StructuralPartialEq for GameAction
Auto Trait Implementations
impl RefUnwindSafe for GameAction
impl Send for GameAction
impl Sync for GameAction
impl Unpin for GameAction
impl UnwindSafe for GameAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more