Enum entmet_lib::entities::entity::CatVariant
source · #[repr(u8)]pub enum CatVariant {
White = 0,
Tuxedo = 1,
Ginger = 2,
Siamese = 3,
BritishShorthair = 4,
Calico = 5,
Persian = 6,
Ragdoll = 7,
Tabby = 8,
Black = 9,
Jellie = 10,
}Expand description
An enum of all cat variants
Variants§
White = 0
Tuxedo = 1
Ginger = 2
Siamese = 3
BritishShorthair = 4
Calico = 5
Persian = 6
Ragdoll = 7
Tabby = 8
Black = 9
Jellie = 10
Trait Implementations§
source§impl Default for CatVariant
impl Default for CatVariant
source§fn default() -> CatVariant
fn default() -> CatVariant
Returns the “default value” for a type. Read more
source§impl PartialEq for CatVariant
impl PartialEq for CatVariant
source§fn eq(&self, other: &CatVariant) -> bool
fn eq(&self, other: &CatVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CatVariant
Auto Trait Implementations§
impl Freeze for CatVariant
impl RefUnwindSafe for CatVariant
impl Send for CatVariant
impl Sync for CatVariant
impl Unpin for CatVariant
impl UnwindSafe for CatVariant
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