Enum harmony::PiecePlacementErr [] [src]

pub enum PiecePlacementErr {
    PlacedOutsideBoard,
    PlayerNotInGame,
}

Variants

PlacedOutsideBoardPlayerNotInGame

Trait Implementations

impl PartialEq for PiecePlacementErr
[src]

fn eq(&self, __arg_0: &PiecePlacementErr) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for PiecePlacementErr
[src]

impl Debug for PiecePlacementErr
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for PiecePlacementErr
[src]

fn clone(&self) -> PiecePlacementErr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for PiecePlacementErr
[src]