pub struct MovegenFlags {
pub white_castle_short: bool,
pub white_castle_long: bool,
pub black_castle_short: bool,
pub black_castle_long: bool,
pub en_passant: Option<usize>,
pub polyglot_en_passant: Option<usize>,
}Fields§
§white_castle_short: bool§white_castle_long: bool§black_castle_short: bool§black_castle_long: bool§en_passant: Option<usize>§polyglot_en_passant: Option<usize>Trait Implementations§
Source§impl Clone for MovegenFlags
impl Clone for MovegenFlags
Source§fn clone(&self) -> MovegenFlags
fn clone(&self) -> MovegenFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MovegenFlags
impl Debug for MovegenFlags
Source§impl Default for MovegenFlags
impl Default for MovegenFlags
Source§fn default() -> MovegenFlags
fn default() -> MovegenFlags
Returns the “default value” for a type. Read more
impl Copy for MovegenFlags
Auto Trait Implementations§
impl Freeze for MovegenFlags
impl RefUnwindSafe for MovegenFlags
impl Send for MovegenFlags
impl Sync for MovegenFlags
impl Unpin for MovegenFlags
impl UnwindSafe for MovegenFlags
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