Struct pleco::core::piece_move::PreMoveInfo[][src]

pub struct PreMoveInfo {
    pub src: SQ,
    pub dst: SQ,
    pub flags: MoveFlag,
}

Useful pre-encoding of a move's information before it is compressed into a BitMove struct.

Fields

The square the moving piece originates from.

The square the piece is moving to.

Marks the type of move. E.g, Promotion, Castle, Capture.

Trait Implementations

impl Copy for PreMoveInfo
[src]

impl Clone for PreMoveInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PreMoveInfo
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for PreMoveInfo

impl Sync for PreMoveInfo