[−][src]Trait littlewing::piece::PieceAttr
Required methods
fn color(&self) -> Color
Get the color of a piece
fn kind(&self) -> Piece
Get a piece without its color
fn color(&self) -> Color
Get the color of a piece
fn kind(&self) -> Piece
Get a piece without its color
fn is_pawn(&self) -> bool
fn is_knight(&self) -> bool
fn is_bishop(&self) -> bool
fn is_rook(&self) -> bool
fn is_queen(&self) -> bool
fn is_king(&self) -> bool