Struct pleco::core::piece_move::PreMoveInfo [−][src]
Useful pre-encoding of a move's information before it is compressed into a BitMove
struct.
Fields
src: SQ
The square the moving piece originates from.
dst: SQ
The square the piece is moving to.
flags: MoveFlag
Marks the type of move. E.g, Promotion, Castle, Capture.
Trait Implementations
impl Copy for PreMoveInfo
[src]
impl Copy for PreMoveInfo
impl Clone for PreMoveInfo
[src]
impl Clone for PreMoveInfo
fn clone(&self) -> PreMoveInfo
[src]
fn clone(&self) -> PreMoveInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for PreMoveInfo
[src]
impl PartialEq for PreMoveInfo
fn eq(&self, other: &PreMoveInfo) -> bool
[src]
fn eq(&self, other: &PreMoveInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PreMoveInfo) -> bool
[src]
fn ne(&self, other: &PreMoveInfo) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PreMoveInfo
impl Send for PreMoveInfo
impl Sync for PreMoveInfo
impl Sync for PreMoveInfo