Enum chess_pgn_parser::Move [] [src]

pub enum Move {
    BasicMove {
        piece: Piece,
        to: Square,
        from: Square,
        is_capture: bool,
        promoted_to: Option<Piece>,
    },
    CastleKingside,
    CastleQueenside,
}

Variants

Fields of BasicMove

Methods

impl Move
[src]

Trait Implementations

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

impl Debug for Move
[src]

Formats the value using the given formatter.

impl Clone for Move
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more