Enum shakmaty::Role [] [src]

pub enum Role {
    Pawn,
    Knight,
    Bishop,
    Rook,
    Queen,
    King,
}

Piece types: Pawn, Knight, Bishop, Rook, Queen, King.

Variants

Methods

impl Role
[src]

[src]

[src]

[src]

Trait Implementations

impl Copy for Role
[src]

impl Clone for Role
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Role
[src]

impl PartialEq for Role
[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 Debug for Role
[src]

[src]

Formats the value using the given formatter.