chessfriend/bitboard
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
..
src [board, core, bitboard] Clean up casts between Rank, File and BitBoard 2025-05-23 18:32:18 -07:00
Cargo.toml Clean up BitBoard's bit ops impl macros 2024-07-13 07:08:18 -07:00