Enum esl::BodyPartType
source · #[repr(u8)]
pub enum BodyPartType {
Skin,
Clothing,
Armor,
}
Variants
Skin
Clothing
Armor
Implementations
Trait Implementations
sourceimpl Clone for BodyPartType
impl Clone for BodyPartType
sourcefn clone(&self) -> BodyPartType
fn clone(&self) -> BodyPartType
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 moresourceimpl Debug for BodyPartType
impl Debug for BodyPartType
sourceimpl<'de> Deserialize<'de> for BodyPartType
impl<'de> Deserialize<'de> for BodyPartType
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 BodyPartType
impl Display for BodyPartType
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 BodyPartType
impl FromStr for BodyPartType
sourceimpl Hash for BodyPartType
impl Hash for BodyPartType
sourceimpl Ord for BodyPartType
impl Ord for BodyPartType
sourcefn cmp(&self, other: &BodyPartType) -> Ordering
fn cmp(&self, other: &BodyPartType) -> Ordering
1.21.0 · sourcefn 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 · sourcefn 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
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BodyPartType> for BodyPartType
impl PartialEq<BodyPartType> for BodyPartType
sourcefn eq(&self, other: &BodyPartType) -> bool
fn eq(&self, other: &BodyPartType) -> bool
sourceimpl PartialOrd<BodyPartType> for BodyPartType
impl PartialOrd<BodyPartType> for BodyPartType
sourcefn partial_cmp(&self, other: &BodyPartType) -> Option<Ordering>
fn partial_cmp(&self, other: &BodyPartType) -> Option<Ordering>
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 moresourceimpl Serialize for BodyPartType
impl Serialize for BodyPartType
impl Copy for BodyPartType
impl Eq for BodyPartType
impl StructuralEq for BodyPartType
impl StructuralPartialEq for BodyPartType
Auto Trait Implementations
impl RefUnwindSafe for BodyPartType
impl Send for BodyPartType
impl Sync for BodyPartType
impl Unpin for BodyPartType
impl UnwindSafe for BodyPartType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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