Struct chess_move_gen::State
[−]
[src]
pub struct State { pub castling_rights: CastlingRights, pub ep_square: Option<Square>, pub stm: Side, pub full_move_number: usize, pub half_move_clock: usize, }
State encodes all game state except position
Fields
castling_rights: CastlingRights
ep_square: Option<Square>
stm: Side
full_move_number: usize
half_move_clock: usize
Trait Implementations
impl Debug for State
[src]
impl Clone for State
[src]
fn clone(&self) -> State
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more