Function shakmaty::attacks::knight_attacks [] [src]

pub fn knight_attacks(sq: Square) -> Bitboard

Looks up attacks for a knight on sq.