No description
This is simpler than writing a macro, at the expense of some overhead for calling a function. But the Rust compiler might inline it anyway! To support this change, implement BitBoard::first_occupied_square_direction, which iterates a bitboard in a direction (i.e. leading or trailing) depending on the core::Direction value passed to it. |
||
---|---|---|
bitboard | ||
board | ||
chessfriend | ||
core | ||
doc | ||
explorer | ||
moves | ||
perft | ||
position | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
ChessFriend.code-workspace | ||
Makefile | ||
rustfmt.toml |