Enum pleco::piece_move::MoveFlag [] [src]

pub enum MoveFlag {
    Promotion {
        capture: bool,
        prom: Piece,
    },
    Castle {
        king_side: bool,
    },
    DoublePawnPush,
    Capture {
        ep_capture: bool,
    },
    QuietMove,
}

Selected Meta-Data to accompany each move.

Variants

Fields of Promotion

Fields of Castle

Fields of Capture

Trait Implementations

impl Copy for MoveFlag
[src]

impl Clone for MoveFlag
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for MoveFlag
[src]

[src]

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

[src]

This method tests for !=.