pub enum PieceType {
QUEENBEE,
BEETLE,
GRASSHOPPER,
LADYBUG,
MOSQUITO,
SOLDIERANT,
SPIDER,
NONE,
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PieceType
impl<'de> Deserialize<'de> for PieceType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for PieceType
impl Eq for PieceType
impl StructuralPartialEq for PieceType
Auto Trait Implementations§
impl Freeze for PieceType
impl RefUnwindSafe for PieceType
impl Send for PieceType
impl Sync for PieceType
impl Unpin for PieceType
impl UnwindSafe for PieceType
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