pub enum MoveFlag {
Normal,
DoublePawnPush,
EnPassant,
CastleKingside,
CastleQueenside,
Promotion(PieceType),
}Expand description
Extra information encoded alongside the (from, to) pair.
Variants§
Trait Implementations§
impl Eq for MoveFlag
impl StructuralPartialEq for MoveFlag
Auto Trait Implementations§
impl Freeze for MoveFlag
impl RefUnwindSafe for MoveFlag
impl Send for MoveFlag
impl Sync for MoveFlag
impl Unpin for MoveFlag
impl UnsafeUnpin for MoveFlag
impl UnwindSafe for MoveFlag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more