Enum esl::ClothingType
source · #[repr(u32)]pub enum ClothingType {
Pants = 0,
Shoes = 1,
Shirt = 2,
Belt = 3,
Robe = 4,
RightGlove = 5,
LeftGlove = 6,
Skirt = 7,
Ring = 8,
Amulet = 9,
}
Variants§
Pants = 0
Shoes = 1
Shirt = 2
Belt = 3
Robe = 4
RightGlove = 5
LeftGlove = 6
Skirt = 7
Ring = 8
Amulet = 9
Implementations§
Trait Implementations§
source§impl Clone for ClothingType
impl Clone for ClothingType
source§fn clone(&self) -> ClothingType
fn clone(&self) -> ClothingType
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 ClothingType
impl Debug for ClothingType
source§impl<'de> Deserialize<'de> for ClothingType
impl<'de> Deserialize<'de> for ClothingType
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 ClothingType
impl Hash for ClothingType
source§impl Ord for ClothingType
impl Ord for ClothingType
source§fn cmp(&self, other: &ClothingType) -> Ordering
fn cmp(&self, other: &ClothingType) -> 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 ClothingType
impl PartialEq for ClothingType
source§fn eq(&self, other: &ClothingType) -> bool
fn eq(&self, other: &ClothingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ClothingType
impl PartialOrd for ClothingType
source§fn partial_cmp(&self, other: &ClothingType) -> Option<Ordering>
fn partial_cmp(&self, other: &ClothingType) -> 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 ClothingType
impl Serialize for ClothingType
source§impl Display for ClothingType
impl Display for ClothingType
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 ClothingType
impl FromStr for ClothingType
impl Copy for ClothingType
impl Eq for ClothingType
impl StructuralEq for ClothingType
impl StructuralPartialEq for ClothingType
Auto Trait Implementations§
impl RefUnwindSafe for ClothingType
impl Send for ClothingType
impl Sync for ClothingType
impl Unpin for ClothingType
impl UnwindSafe for ClothingType
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