Enum esl::ClothingType
source · [−]#[repr(u32)]
pub enum ClothingType {
Pants,
Shoes,
Shirt,
Belt,
Robe,
RightGlove,
LeftGlove,
Skirt,
Ring,
Amulet,
}
Variants
Pants
Shoes
Shirt
Belt
Robe
RightGlove
LeftGlove
Skirt
Ring
Amulet
Implementations
Trait Implementations
sourceimpl Clone for ClothingType
impl Clone for ClothingType
sourcefn clone(&self) -> ClothingType
fn clone(&self) -> ClothingType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClothingType
impl Debug for ClothingType
sourceimpl<'de> Deserialize<'de> for ClothingType
impl<'de> Deserialize<'de> for ClothingType
sourcefn 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
sourceimpl Display for ClothingType
impl Display for ClothingType
sourcefn 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
sourceimpl FromStr for ClothingType
impl FromStr for ClothingType
sourceimpl Hash for ClothingType
impl Hash for ClothingType
sourceimpl Ord for ClothingType
impl Ord for ClothingType
sourceimpl PartialEq<ClothingType> for ClothingType
impl PartialEq<ClothingType> for ClothingType
sourceimpl PartialOrd<ClothingType> for ClothingType
impl PartialOrd<ClothingType> for ClothingType
sourcefn partial_cmp(&self, other: &ClothingType) -> Option<Ordering>
fn partial_cmp(&self, other: &ClothingType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl Serialize for ClothingType
impl Serialize 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more