pub enum CastlingType {
Long,
Short,
}Expand description
Castling type (side)
Variants§
Implementations§
Source§impl CastlingType
impl CastlingType
Trait Implementations§
Source§impl Clone for CastlingType
impl Clone for CastlingType
Source§fn clone(&self) -> CastlingType
fn clone(&self) -> CastlingType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CastlingType
impl Debug for CastlingType
Source§impl Display for CastlingType
impl Display for CastlingType
Source§impl PartialEq for CastlingType
impl PartialEq for CastlingType
impl Copy for CastlingType
impl Eq for CastlingType
impl StructuralPartialEq for CastlingType
Auto Trait Implementations§
impl Freeze for CastlingType
impl RefUnwindSafe for CastlingType
impl Send for CastlingType
impl Sync for CastlingType
impl Unpin for CastlingType
impl UnwindSafe for CastlingType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more