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
Promotion
Fields of Promotion
capture: bool | |
prom: Piece |
Castle
Fields of Castle
king_side: bool |
DoublePawnPush
Capture
Fields of Capture
ep_capture: bool |
QuietMove
Trait Implementations
impl Copy for MoveFlag
[src]
impl Clone for MoveFlag
[src]
fn clone(&self) -> MoveFlag
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more