[][src]Trait rustenginelib::piece::ColorTrait

pub trait ColorTrait {
    fn turn_fen(self) -> String;
fn inverse(self) -> Color; }

ColorTrait defines methods for Color

Required methods

fn turn_fen(self) -> String

returns the color fen string

fn inverse(self) -> Color

returns inverse of color

Loading content...

Implementors

impl ColorTrait for Color[src]

ColorTrait implementation

fn inverse(self) -> Color[src]

returns inverse of color

Loading content...