chess
impl Iterator for BitBoard type Item = Square;
pub fn line(sq1: Square, sq2: Square) -> BitBoard
Get a line (extending to infinity, which in chess is 8 squares), given two squares. This line does extend past the squares.