Enum shakmaty::CastlingSide
source · pub enum CastlingSide {
KingSide,
QueenSide,
}
Expand description
KingSide
(O-O) or QueenSide
(O-O-O).
Variants
KingSide
QueenSide
Implementations
Trait Implementations
sourceimpl Clone for CastlingSide
impl Clone for CastlingSide
sourcefn clone(&self) -> CastlingSide
fn clone(&self) -> CastlingSide
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CastlingSide
impl Debug for CastlingSide
sourceimpl PartialEq<CastlingSide> for CastlingSide
impl PartialEq<CastlingSide> for CastlingSide
sourcefn eq(&self, other: &CastlingSide) -> bool
fn eq(&self, other: &CastlingSide) -> bool
impl Copy for CastlingSide
impl Eq for CastlingSide
impl StructuralEq for CastlingSide
impl StructuralPartialEq for CastlingSide
Auto Trait Implementations
impl RefUnwindSafe for CastlingSide
impl Send for CastlingSide
impl Sync for CastlingSide
impl Unpin for CastlingSide
impl UnwindSafe for CastlingSide
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more