pub enum Piece {
PAWN = 0,
BISHOP = 1,
KNIGHT = 2,
ROOK = 3,
QUEEN = 4,
KING = 5,
UNKNOWN = 6,
}
Variants§
Trait Implementations§
source§impl PartialEq for Piece
impl PartialEq for Piece
impl Copy for Piece
impl Eq for Piece
impl StructuralPartialEq for Piece
Auto Trait Implementations§
impl Freeze for Piece
impl RefUnwindSafe for Piece
impl Send for Piece
impl Sync for Piece
impl Unpin for Piece
impl UnwindSafe for Piece
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