[−][src]Trait rustenginelib::square::SquareTrait
Square trait adds methods to a Square
Required methods
fn rank(self) -> Rank
returns the rank of the square
fn file(self) -> File
returns the file of the square
fn uci(self) -> String
returns the UCI representation of the square
fn bitboard(self) -> Bitboard
returns an otherwise empty bitboard with the bit for this square set