Enum backgammon_logic::player::Player [−][src]
pub enum Player { Black, White, }
Variants
Black
White
Methods
impl Player
[src]
impl Player
Trait Implementations
impl Clone for Player
[src]
impl Clone for Player
fn clone(&self) -> Player
[src]
fn clone(&self) -> Player
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Player
[src]
impl Copy for Player
impl Debug for Player
[src]
impl Debug for Player
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Player
[src]
impl PartialEq for Player