pub const fn get_bishop_rays(square: Square) -> BitBoard
Expand description

Get the rays for a bishop on some square.

§Examples

let rays = get_bishop_rays(Square::D3);
assert_eq!(rays, bitboard! {
    . . . . . . . .
    . . . . . . . X
    X . . . . . X .
    . X . . . X . .
    . . X . X . . .
    . . . . . . . .
    . . X . X . . .
    . X . . . X . .
});