Struct tak::piece::Piece
[−]
[src]
pub struct Piece { pub stone: Stone, pub owner: Player, }
Fields
stone: Stone
owner: Player
Methods
impl Piece
[src]
Trait Implementations
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