[−][src]Enum pleco::core::piece_move::MoveFlag
Selected Meta-Data to accompany each move.
Variants
Promotion
The move is a promotion.
Fields of Promotion
Castle
The move is a castle.
Fields of Castle
king_side: bool
Determines if the castle is a castle on the king side.
DoublePawnPush
The move is a double pawn push.
Capture
The move is a capturing move.
Fields of Capture
ep_capture: bool
Marks this move as an en-passant capture.
QuietMove
The move is a quiet move. This means its not a capture, promotion, castle, or double-pawn push.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,