This bit scanner iterates populated bits in a BitBoard from the trailing (least-significant) end. Rename BitScanner → LeadingBitScanner. Factor implementation of these two into a macro. Clean up iterator returned by BitBoard::occupied_squares Implement BitBoard::occupied_squares_trailing |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||