Struct shakmaty::Piece [−][src]
Fields
color: Color
role: Role
Methods
impl Piece
[src]
impl Piece
Trait Implementations
impl Copy for Piece
[src]
impl Copy for Piece
impl Clone for Piece
[src]
impl Clone for Piece
fn clone(&self) -> Piece
[src]
fn clone(&self) -> Piece
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for Piece
[src]
impl Eq for Piece
impl PartialEq for Piece
[src]
impl PartialEq for Piece
fn eq(&self, other: &Piece) -> bool
[src]
fn eq(&self, other: &Piece) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Piece) -> bool
[src]
fn ne(&self, other: &Piece) -> bool
This method tests for !=
.
impl Debug for Piece
[src]
impl Debug for Piece