Function inanis::state::movegen::get_attacks
source · fn get_attacks(
occupancy_bb: u64,
square: usize,
direction: (isize, isize)
) -> u64Expand description
Helper function to get all possible to move squares, considering occupancy_bb, starting from the square
specified by square and going into the direction.