Enum pleco::templates::Player [] [src]

pub enum Player {
    White,
    Black,
}

Enum to represent the Players White & Black.

Variants

Methods

impl Player
[src]

[src]

Returns the other player.

Trait Implementations

impl Copy for Player
[src]

impl Clone for Player
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Player
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Player
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Display for Player
[src]

[src]

Formats the value using the given formatter. Read more