Struct alcibiades::PiecesPlacement [] [src]

pub struct PiecesPlacement {
    pub piece_type: [Bitboard; 6],
    pub color: [Bitboard; 2],
}

Describes how the pieces are placed on the board.

Fields

An array of occupation bitboards indexed by piece type. For example, pieces_placement.piece_type[PAWN] gives the set of all pawns on the board (white and black).

An array of occupation bitboards indexed by color. For example, pieces_placement.color[WHITE] gives the set of all white pieces and pawns on the board.

Trait Implementations

impl Clone for PiecesPlacement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PiecesPlacement
[src]

impl Debug for PiecesPlacement
[src]

Formats the value using the given formatter.

impl Display for PiecesPlacement
[src]

Formats the value using the given formatter.