Function alcibiades::bitsets::bb_rank [] [src]

pub fn bb_rank(square: Square) -> Bitboard

Returns the set of squares on the same rank as the given square.

Examples:

assert_eq!(bb_rank(E4), BB_RANK_4);