pub fn rook_attacks(square: u8, occupancy: u64) -> u64
Generate Rook attacks for a square given occupancy using the Magic bitboard backend.
Panics if square >= 64 (the magic tables are indexed by square).
square >= 64
square