fn new() -> Board {
        Board {
            pieces: [EMPTY; NUM_PIECES],
            color_combined: [EMPTY; NUM_COLORS],
            combined: EMPTY,
            side_to_move: Color::White,
            castle_rights: [CastleRights::NoRights; NUM_COLORS],
            pinned: EMPTY,
            checkers: EMPTY,
            hash: 0,
            en_passant: None,
        }
    }
/// Construct a new `Board` that is completely empty.
/// Note: This does NOT give you the initial position.  Just a blank slate.
Construct a new `Board` that is completely empty.
Note: This does NOT give you the initial position.  Just a blank slate.
Construct a new ` Board ` that is completely empty . Note : This does NOT give you the initial position . Just a blank slate .
fn new() -> Board {
        Board {
            pieces: [EMPTY; NUM_PIECES],
            color_combined: [EMPTY; NUM_COLORS],
            combined: EMPTY,
            side_to_move: Color::White,
            castle_rights: [CastleRights::NoRights; NUM_COLORS],
            pinned: EMPTY,
            checkers: EMPTY,
            hash: 0,
            en_passant: None,
        }
    }
fn new ( ) -> Board { Board { pieces : [ EMPTY ; NUM_PIECES ] , color_combined : [ EMPTY ; NUM_COLORS ] , combined : EMPTY , side_to_move : Color :: White , castle_rights : [ CastleRights :: NoRights ; NUM_COLORS ] , pinned : EMPTY , checkers : EMPTY , hash : 0 , en_passant : None , } }
Construct a new `Board` that is completely empty.
Construct a new ` Board ` that is completely empty .