Enum esl::CreatureType
source · #[repr(u32)]pub enum CreatureType {
Creature = 0,
Daedra = 1,
Undead = 2,
Humanoid = 3,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for CreatureType
impl Clone for CreatureType
source§fn clone(&self) -> CreatureType
fn clone(&self) -> CreatureType
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 Debug for CreatureType
impl Debug for CreatureType
source§impl<'de> Deserialize<'de> for CreatureType
impl<'de> Deserialize<'de> for CreatureType
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 Hash for CreatureType
impl Hash for CreatureType
source§impl Ord for CreatureType
impl Ord for CreatureType
source§fn cmp(&self, other: &CreatureType) -> Ordering
fn cmp(&self, other: &CreatureType) -> Ordering
1.21.0 · 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
source§impl PartialEq for CreatureType
impl PartialEq for CreatureType
source§fn eq(&self, other: &CreatureType) -> bool
fn eq(&self, other: &CreatureType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CreatureType
impl PartialOrd for CreatureType
source§fn partial_cmp(&self, other: &CreatureType) -> Option<Ordering>
fn partial_cmp(&self, other: &CreatureType) -> Option<Ordering>
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 Serialize for CreatureType
impl Serialize for CreatureType
source§impl Display for CreatureType
impl Display for CreatureType
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
source§impl FromStr for CreatureType
impl FromStr for CreatureType
impl Copy for CreatureType
impl Eq for CreatureType
impl StructuralEq for CreatureType
impl StructuralPartialEq for CreatureType
Auto Trait Implementations§
impl RefUnwindSafe for CreatureType
impl Send for CreatureType
impl Sync for CreatureType
impl Unpin for CreatureType
impl UnwindSafe for CreatureType
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