[−][src]Module rustenginelib::piece
Constants
BISHOP | BISHOP represents chess figure 'bishop' |
BLACK | BLACK represents black chess color |
FIGURE_FEN_SYMBOLS | FIGURE_FEN_SYMBOLS maps a figure to its fen symbol |
FIGURE_SAN_LETTERS | FIGURE_SAN_LETTERS maps a figure to its san letter |
JAILER | JAILER represents chess figure 'jailer' |
KING | KING represents chess figure 'king' |
KNIGHT | KNIGHT represents chess figure 'knight' |
LANCER | LANCER represents chess figure 'lancer' |
LANCERE | LANCERE represents chess figure 'lancere' |
LANCERN | LANCERN represents chess figure 'lancern' |
LANCERNE | LANCERNE represents chess figure 'lancerne' |
LANCERNW | LANCERNW represents chess figure 'lancernw' |
LANCERS | LANCERS represents chess figure 'lancers' |
LANCERSE | LANCERSE represents chess figure 'lancerse' |
LANCERSW | LANCERSW represents chess figure 'lancersw' |
LANCERW | LANCERW represents chess figure 'lancerw' |
NO_FIGURE | NO_FIGURE represents no figure on a given square |
PAWN | PAWN represents chess figure 'pawn' |
PIECE_FEN_SYMBOLS | PIECE_FEN_SYMBOLS maps a piece to its fen symbol |
QUEEN | QUEEN represents chess figure 'queen' |
ROOK | ROOK represents chess figure 'rook' |
SENTRY | SENTRY represents chess figure 'sentry' |
WHITE | WHITE represents white chess color |
Traits
FigureTrait | FigureTrait adds methods to Figure |
PieceTrait | PieceTrait adds methods to Piece |
Functions
color_figure | returns a piece from color and figure |
Type Definitions
Color | Color type represents a chess color |
Figure | Figure type represents a chess figure as an unsigned int |
Piece | Piece type represents a chess piece as an unsigned int |