#[repr(u8)]pub enum Blood {
Default = 0,
Skeleton = 4,
MetalSparks = 8,
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Blood
impl<'de> Deserialize<'de> for Blood
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
source§impl Ord for Blood
impl Ord for Blood
source§impl PartialEq for Blood
impl PartialEq for Blood
source§impl PartialOrd for Blood
impl PartialOrd for Blood
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Display for Blood
impl Display for Blood
source§fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
Formats the value using the given formatter. Read more
impl Copy for Blood
impl Eq for Blood
impl StructuralEq for Blood
impl StructuralPartialEq for Blood
Auto Trait Implementations§
impl RefUnwindSafe for Blood
impl Send for Blood
impl Sync for Blood
impl Unpin for Blood
impl UnwindSafe for Blood
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