Enum pleco::templates::Player
[−]
[src]
pub enum Player { White, Black, }
Enum to represent the Players White & Black.
Variants
White
Black
Methods
impl Player
[src]
fn other_player(&self) -> Player
[src]
Returns the other player.
Trait Implementations
impl Copy for Player
[src]
impl Clone for Player
[src]
fn clone(&self) -> Player
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Player
[src]
impl PartialEq for Player
[src]
fn eq(&self, __arg_0: &Player) -> bool
[src]
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[src]
This method tests for !=
.