Function minorhacks_chess::get_pawn_attacks[][src]

pub fn get_pawn_attacks(
    sq: Square,
    color: Color,
    blockers: BitBoard
) -> BitBoard

Notable traits for BitBoard

impl Iterator for BitBoard type Item = Square;

Get the pawn capture move for a particular square, given the pawn’s color and the potential victims