[−][src]Trait rustenginelib::square::Square
Square trait adds functions to an u8 that allow treating it as a chess square
Required methods
fn rank(self) -> usize
returns the rank of the square
fn file(self) -> usize
returns the file of the square
fn uci(self) -> String
returns the UCI representation of the square
Implementations on Foreign Types
impl Square for usize[src]
fn rank(self) -> usize[src]
returns the rank of the square
fn file(self) -> usize[src]
returns the file of the square
fn uci(self) -> String[src]
returns the UCI representation of the square