Enum tak::turn::Turn
[−]
[src]
pub enum Turn { Place { point: Point, stone: Stone, }, Slide { num_pieces: usize, point: Point, direction: Direction, drops: Vec<usize>, }, }
Variants
Place
Fields
point: Point | |
stone: Stone |
Slide
Fields
num_pieces: usize | |
point: Point | |
direction: Direction | |
drops: Vec<usize> |
Trait Implementations
impl Encodable for Turn
[src]
impl Decodable for Turn
[src]
impl Eq for Turn
[src]
impl PartialEq for Turn
[src]
fn eq(&self, __arg_0: &Turn) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Turn) -> bool
This method tests for !=
.
impl Debug for Turn
[src]
impl Clone for Turn
[src]
fn clone(&self) -> Turn
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