Enum pleco::templates::Piece
[−]
[src]
#[repr(u8)]pub enum Piece { K, Q, R, B, N, P, }
Enum for all the possible Pieces.
Variants
K
Q
R
B
N
P
Trait Implementations
impl Copy for Piece
[src]
impl Clone for Piece
[src]
fn clone(&self) -> Piece
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Piece
[src]
fn eq(&self, __arg_0: &Piece) -> bool
[src]
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[src]
This method tests for !=
.