Struct fen::Piece [] [src]

pub struct Piece {
    pub kind: PieceKind,
    pub color: Color,
}

Fields

Methods

impl Piece
[src]

Trait Implementations

impl Clone for Piece
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Piece
[src]

Formats the value using the given formatter.

impl Eq for Piece
[src]

impl PartialEq for Piece
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl ToString for Piece
[src]

Converts the given value to a String. Read more