Struct csa::value::Square
[−]
[src]
pub struct Square { pub file: u8, pub rank: u8, }
Fields
file: u8
rank: u8
Methods
impl Square
[src]
Trait Implementations
impl Debug for Square
[src]
impl PartialEq for Square
[src]
fn eq(&self, __arg_0: &Square) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Square) -> bool
This method tests for !=
.
impl Eq for Square
[src]
impl Clone for Square
[src]
fn clone(&self) -> Square
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