Enum entmet_lib::entities::entity::HorseColor
source · #[repr(u64)]pub enum HorseColor {
White = 0,
Creamy = 1,
Chestnut = 2,
Brown = 3,
Black = 4,
Gray = 5,
DarkBrown = 6,
}Expand description
An enum of all color variants of a horse
Variants§
Trait Implementations§
source§impl Clone for HorseColor
impl Clone for HorseColor
source§fn clone(&self) -> HorseColor
fn clone(&self) -> HorseColor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for HorseColor
impl Default for HorseColor
source§fn default() -> HorseColor
fn default() -> HorseColor
Returns the “default value” for a type. Read more
source§impl PartialEq for HorseColor
impl PartialEq for HorseColor
source§fn eq(&self, other: &HorseColor) -> bool
fn eq(&self, other: &HorseColor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for HorseColor
impl Eq for HorseColor
impl StructuralPartialEq for HorseColor
Auto Trait Implementations§
impl Freeze for HorseColor
impl RefUnwindSafe for HorseColor
impl Send for HorseColor
impl Sync for HorseColor
impl Unpin for HorseColor
impl UnwindSafe for HorseColor
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