Function bughouse::get_pawn_moves[][src]

pub fn get_pawn_moves(sq: Square, color: Color, blockers: BitBoard) -> BitBoard
Notable traits for BitBoard
impl Iterator for BitBoard type Item = Square;
Expand description

Get all the pawn moves for a particular square, given the pawn’s color and the potential blocking pieces and victims.