misc
This commit is contained in:
parent
9332ea60c7
commit
dea824605e
1 changed files with 5 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue