Enum esl::BodyPartKind
source · #[repr(u8)]pub enum BodyPartKind {
Show 15 variants
Head = 0,
Hair = 1,
Neck = 2,
Chest = 3,
Groin = 4,
Hand = 5,
Wrist = 6,
Forearm = 7,
UpperArm = 8,
Foot = 9,
Ankle = 10,
Knee = 11,
UpperLeg = 12,
Clavicle = 13,
Tail = 14,
}
Variants§
Head = 0
Hair = 1
Neck = 2
Chest = 3
Groin = 4
Hand = 5
Wrist = 6
Forearm = 7
UpperArm = 8
Foot = 9
Ankle = 10
Knee = 11
UpperLeg = 12
Clavicle = 13
Tail = 14
Implementations§
Trait Implementations§
source§impl Clone for BodyPartKind
impl Clone for BodyPartKind
source§fn clone(&self) -> BodyPartKind
fn clone(&self) -> BodyPartKind
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 BodyPartKind
impl Debug for BodyPartKind
source§impl<'de> Deserialize<'de> for BodyPartKind
impl<'de> Deserialize<'de> for BodyPartKind
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 BodyPartKind
impl Hash for BodyPartKind
source§impl Ord for BodyPartKind
impl Ord for BodyPartKind
source§fn cmp(&self, other: &BodyPartKind) -> Ordering
fn cmp(&self, other: &BodyPartKind) -> 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 BodyPartKind
impl PartialEq for BodyPartKind
source§fn eq(&self, other: &BodyPartKind) -> bool
fn eq(&self, other: &BodyPartKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BodyPartKind
impl PartialOrd for BodyPartKind
source§fn partial_cmp(&self, other: &BodyPartKind) -> Option<Ordering>
fn partial_cmp(&self, other: &BodyPartKind) -> 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 BodyPartKind
impl Serialize for BodyPartKind
source§impl Display for BodyPartKind
impl Display for BodyPartKind
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 BodyPartKind
impl FromStr for BodyPartKind
impl Copy for BodyPartKind
impl Eq for BodyPartKind
impl StructuralEq for BodyPartKind
impl StructuralPartialEq for BodyPartKind
Auto Trait Implementations§
impl RefUnwindSafe for BodyPartKind
impl Send for BodyPartKind
impl Sync for BodyPartKind
impl Unpin for BodyPartKind
impl UnwindSafe for BodyPartKind
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