Enum entmet_lib::entities::entity::RabbitVariant
source · #[repr(u8)]pub enum RabbitVariant {
Brown = 0,
White = 1,
Black = 2,
WhiteSplotched = 3,
Gold = 4,
Salt = 5,
Evil = 99,
}Expand description
An enum of all rabbit variants
Variants§
Trait Implementations§
source§impl Default for RabbitVariant
impl Default for RabbitVariant
source§fn default() -> RabbitVariant
fn default() -> RabbitVariant
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RabbitVariant
impl RefUnwindSafe for RabbitVariant
impl Send for RabbitVariant
impl Sync for RabbitVariant
impl Unpin for RabbitVariant
impl UnwindSafe for RabbitVariant
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