pub enum DemonType {
Standard,
SuperUnique,
Unknown(u16),
}Expand description
Bound demon type.
Variants§
Standard
Standard monster; class ID is a MonStats.txt row.
SuperUnique
Super unique; class ID is a SuperUniques.txt row.
Unknown(u16)
A value with no named variant.
Implementations§
Trait Implementations§
impl Copy for DemonType
Source§impl<'de> Deserialize<'de> for DemonType
impl<'de> Deserialize<'de> for DemonType
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
impl Eq for DemonType
Source§impl Ord for DemonType
impl Ord for DemonType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DemonType
impl PartialOrd for DemonType
impl StructuralPartialEq for DemonType
Auto Trait Implementations§
impl Freeze for DemonType
impl RefUnwindSafe for DemonType
impl Send for DemonType
impl Sync for DemonType
impl Unpin for DemonType
impl UnsafeUnpin for DemonType
impl UnwindSafe for DemonType
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