chessfriend/bitboard/src
Eryn Wells 3684e9b425 [board, core, bitboard] Clean up casts between Rank, File and BitBoard
Let BitBoard::rank and BitBoard::file take a Rank and File directly, instead of a
u8 by reference. And then make the Rank/File::as_index const and return a value
rather than a reference.

All this allows you to convert between Rank, File, and BitBoard at compile tile
(i.e. as a const method) rather than needing to do runtime stuff.
2025-05-23 18:32:18 -07:00
..
bit_scanner.rs WIP 2025-05-08 17:37:51 -07:00
bitboard.rs [board, core, bitboard] Clean up casts between Rank, File and BitBoard 2025-05-23 18:32:18 -07:00
direction.rs [bitboard] Replace separate methods for leading and trailing iteration 2025-05-02 14:28:31 -07:00
lib.rs [bitboard] Replace separate methods for leading and trailing iteration 2025-05-02 14:28:31 -07:00
library.rs [bitboard] Return a copy of a BitBoard from BitBoard::ray() 2025-05-02 14:28:31 -07:00
shifts.rs [bitboard] Add separators to the NOT_A_FILE and NOT_H_FILE constants 2025-05-16 07:44:59 -07:00