[][src]Module pleco::board::piece_locations

Contains the PieceLocations structure that maps from squares of a board to a player / piece at that square.

This is useful mainly for the Board to use internally for fast square lookups.

Structs

PieceLocations

Struct to allow fast lookups for any square. Given a square, allows for determining if there is a piece currently there, and if so, allows for determining it's color and type of piece.

PieceLocationsIter