Function poirebot::game::pieces::get_main_diagonal[][src]

pub const fn get_main_diagonal(pos: &Position) -> &'static BitBoard

Notable traits for BitBoard

impl Iterator for BitBoard type Item = Position;

Get the main-diagonal containing the given tile (file and rank, 0-indexed).