pub enum CastlingType {
    Long,
    Short,
}Expand description
Castling type (side)
Variants
Long
Sometimes referred to as castling queenside
Short
Sometimes referred to as castling kingside
Implementations
sourceimpl CastlingType
 
impl CastlingType
Trait Implementations
sourceimpl Clone for CastlingType
 
impl Clone for CastlingType
sourcefn clone(&self) -> CastlingType
 
fn clone(&self) -> CastlingType
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 more
sourceimpl Debug for CastlingType
 
impl Debug for CastlingType
sourceimpl Display for CastlingType
 
impl Display for CastlingType
sourceimpl PartialEq<CastlingType> for CastlingType
 
impl PartialEq<CastlingType> for CastlingType
impl Copy for CastlingType
impl Eq for CastlingType
impl StructuralEq for CastlingType
impl StructuralPartialEq for CastlingType
Auto Trait Implementations
impl RefUnwindSafe for CastlingType
impl Send for CastlingType
impl Sync for CastlingType
impl Unpin for CastlingType
impl UnwindSafe for CastlingType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    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