Struct chess_move_gen::Board [] [src]

pub struct Board { /* fields omitted */ }

Board encodes all positional information and non-positional game state

Methods

impl Board
[src]

Returns piece captured and square if any

impl Board
[src]

Construct a new board from a FEN string

Get board non-positional state

Get board position

Get piece at square

Get bitboard of pieces for a particular side

Get bitboard of pieces for a particular piece

Get bitboard of sliding pieces for a particular side

Get bitboard of all occupied squares

Get bitboard of all empty squares

Trait Implementations

impl Clone for Board
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Board
[src]

Formats the value using the given formatter.

impl Display for Board
[src]

Formats the value using the given formatter. Read more