Enum pleco::core::CastleType [−][src]
#[repr(u8)]pub enum CastleType { KingSide, QueenSide, }
Types of Castling available to a player.
Variants
KingSide
QueenSide
Trait Implementations
impl Copy for CastleType
[src]
impl Copy for CastleType
impl Clone for CastleType
[src]
impl Clone for CastleType
fn clone(&self) -> CastleType
[src]
fn clone(&self) -> CastleType
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 PartialEq for CastleType
[src]
impl PartialEq for CastleType
fn eq(&self, other: &CastleType) -> bool
[src]
fn eq(&self, other: &CastleType) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for CastleType
[src]
impl Debug for CastleType
Auto Trait Implementations
impl Send for CastleType
impl Send for CastleType
impl Sync for CastleType
impl Sync for CastleType