Enum chess_pgn_parser::Piece [] [src]

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

Variants

Trait Implementations

impl PartialEq for Piece
[src]

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

This method tests for !=.

impl Eq for Piece
[src]

impl Debug for Piece
[src]

Formats the value using the given formatter.

impl Copy for Piece
[src]

impl Clone for Piece
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more