text records
This commit is contained in:
parent
0e65b4f927
commit
bbe65b74f4
6 changed files with 173 additions and 167 deletions
|
|
@ -57,7 +57,7 @@ impl Bitboard {
|
|||
self.0 & (1 << square as u8) != 0
|
||||
}
|
||||
|
||||
/// Returns the mirror of the bitboard (see [`Setup::mirror`]).
|
||||
/// Returns the mirror of the bitboard (see [`Setup::mirror`](crate::setup::Setup::mirror)).
|
||||
#[inline]
|
||||
pub fn mirror(self) -> Bitboard {
|
||||
let [a, b, c, d, e, f, g, h] = self.0.to_le_bytes();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue