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
piece_type: [Bitboard; 6]
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).
color: [Bitboard; 2]
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]
fn clone(&self) -> PiecesPlacement
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