Enum pleco::core::piece_move::MoveType[][src]

#[repr(u16)]
pub enum MoveType { Normal, Castle, EnPassant, Promotion, }

A Subset of MoveFlag, used to determine the overall classification of a move.

Variants

The move is "Normal", So its not a castle, promotion, or en-passant.

The move is castling move.

The move is an en-passant capture.

The move is a promotion.

Trait Implementations

impl Copy for MoveType
[src]

impl Clone for MoveType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MoveType
[src]

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

This method tests for !=.

impl Debug for MoveType
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for MoveType

impl Sync for MoveType