Structs§
Functions§
- Converts Board into the EPD.
- Converts Board into the FEN.
- Converts castling rights from the
boardinto the FEN chunk. - Converts en passant from the
boardinto the FEN chunk. - Parses FEN’s castling rights and stores them into the
board. Returns Err with the proper error message ifcastlingcouldn’t be parsed. - Parses FEN’s en passant and stores it into the
board. Returns Err with the proper error message ifen_passantcouldn’t be parsed. - Parses FEN’s fullmove number and stores it into the
board. Returns Err with the proper error message iffullmove_numbercouldn’t be parsed. - Parses FEN’s halfmove clock and stores it into the
board. Returns Err with the proper error message ifhalfmove_clockcouldn’t be parsed. - Parses FEN’s pieces and stores them into the
board. Returns Err with the proper error message ifpiecescouldn’t be parsed. - Parses FEN’s active color and stores it into the
board. Returns Err with the proper error message ifstmcouldn’t be parsed. - Converts fullmove number from the
boardinto the FEN chunk. - Gets a value of the
nameparameters from the specifiedepd. Returns None if the parameter was not found. - Converts halfmove clock from the
boardinto the FEN chunk. - Converts pieces from the
boardinto the FEN chunk. - Converts active color from the
boardinto the FEN chunk.