Enum entmet_lib::entities::entity::AxolotlVariant
source · #[repr(u8)]pub enum AxolotlVariant {
Lucy = 0,
Wild = 1,
Gold = 2,
Cyan = 3,
Blue = 4,
}Expand description
An enum of all axolotl variants
Variants§
Trait Implementations§
source§impl Default for AxolotlVariant
impl Default for AxolotlVariant
source§fn default() -> AxolotlVariant
fn default() -> AxolotlVariant
Returns the “default value” for a type. Read more
source§impl PartialEq for AxolotlVariant
impl PartialEq for AxolotlVariant
source§fn eq(&self, other: &AxolotlVariant) -> bool
fn eq(&self, other: &AxolotlVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AxolotlVariant
Auto Trait Implementations§
impl Freeze for AxolotlVariant
impl RefUnwindSafe for AxolotlVariant
impl Send for AxolotlVariant
impl Sync for AxolotlVariant
impl Unpin for AxolotlVariant
impl UnwindSafe for AxolotlVariant
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