Enum shakmaty::CastlingSide
[−]
[src]
pub enum CastlingSide { KingSide, QueenSide, }
KingSide
(O-O) or QueenSide
(O-O-O).
Variants
KingSide
QueenSide
Methods
impl CastlingSide
[src]
Trait Implementations
impl Copy for CastlingSide
[src]
impl Clone for CastlingSide
[src]
fn clone(&self) -> CastlingSide
[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 Eq for CastlingSide
[src]
impl PartialEq for CastlingSide
[src]
fn eq(&self, __arg_0: &CastlingSide) -> 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 !=
.