Function chess::get_adjacent_files[][src]

pub fn get_adjacent_files(file: File) -> BitBoard

Notable traits for BitBoard

impl Iterator for BitBoard type Item = Square;

Get a BitBoard that represents the squares on the 1 or 2 files next to this file.