pub enum PieceKind {
Pawn,
Rook,
Knight,
Bishop,
Queen,
King,
}
Variants§
Implementations§
Trait Implementations§
impl Copy for PieceKind
impl StructuralPartialEq for PieceKind
Auto Trait Implementations§
impl Freeze for PieceKind
impl RefUnwindSafe for PieceKind
impl Send for PieceKind
impl Sync for PieceKind
impl Unpin for PieceKind
impl UnwindSafe for PieceKind
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