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 Debug for State
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for State
[src]
impl Clone for State