pub enum PieceType {
Show 15 variants
Pawn,
Lance,
Knight,
Silver,
Gold,
Bishop,
Rook,
King,
ProPawn,
ProLance,
ProKnight,
ProSilver,
Horse,
Dragon,
All,
}
Variants
Pawn
Lance
Knight
Silver
Gold
Bishop
Rook
King
ProPawn
ProLance
ProKnight
ProSilver
Horse
Dragon
All
Trait Implementations
impl Copy for PieceType
impl Eq for PieceType
impl StructuralEq for PieceType
impl StructuralPartialEq for PieceType
Auto Trait Implementations
impl RefUnwindSafe for PieceType
impl Send for PieceType
impl Sync for PieceType
impl Unpin for PieceType
impl UnwindSafe for PieceType
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