Enum chess_pgn_parser::Piece
[−]
[src]
pub enum Piece { Pawn, Knight, Bishop, Rook, Queen, King, }
Variants
Pawn
Knight
Bishop
Rook
Queen
King
Trait Implementations
impl PartialEq for Piece
[src]
fn eq(&self, __arg_0: &Piece) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Piece
[src]
impl Debug for Piece
[src]
impl Copy for Piece
[src]
impl Clone for Piece
[src]
fn clone(&self) -> Piece
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more