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

Trait Implementations

impl Debug for State
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for State
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for State

impl Sync for State