Enum tak::piece::Player [] [src]

pub enum Player {
    One,
    Two,
}

Variants

OneTwo

Methods

impl Player
[src]

fn other(&self) -> Player

Trait Implementations

impl Eq for Player
[src]

impl PartialEq for Player
[src]

fn eq(&self, __arg_0: &Player) -> 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 Debug for Player
[src]

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

Formats the value using the given formatter.

impl Copy for Player
[src]

impl Clone for Player
[src]

fn clone(&self) -> Player

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 Display for Player
[src]

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

Formats the value using the given formatter.