1
0
Fork 0
This commit is contained in:
Paul-Nicolas Madelaine 2025-10-19 22:27:50 +02:00
parent 9332ea60c7
commit dea824605e

View file

@ -63,6 +63,11 @@ impl Bitboard {
self.0 |= 1 << square as u8; self.0 |= 1 << square as u8;
} }
#[inline]
pub const fn remove(&mut self, square: Square) {
todo!()
}
/// Returns `true` if the bitboard contains the given square. /// Returns `true` if the bitboard contains the given square.
#[inline] #[inline]
pub const fn contains(&self, square: Square) -> bool { pub const fn contains(&self, square: Square) -> bool {