#[non_exhaustive]#[repr(u8)]pub enum BodyLocation {
Show 40 variants
LeftLeg = 0,
LeftCalf = 1,
LeftShin = 2,
LeftHamstring = 3,
LeftQuad = 4,
LeftGlute = 5,
RightLeg = 6,
RightCalf = 7,
RightShin = 8,
RightHamstring = 9,
RightQuad = 10,
RightGlute = 11,
TorsoBack = 12,
LeftLowerBack = 13,
LeftUpperBack = 14,
RightLowerBack = 15,
RightUpperBack = 16,
TorsoFront = 17,
LeftAbdomen = 18,
LeftChest = 19,
RightAbdomen = 20,
RightChest = 21,
LeftArm = 22,
LeftShoulder = 23,
LeftBicep = 24,
LeftTricep = 25,
LeftBrachioradialis = 26,
LeftForearmExtensors = 27,
RightArm = 28,
RightShoulder = 29,
RightBicep = 30,
RightTricep = 31,
RightBrachioradialis = 32,
RightForearmExtensors = 33,
Neck = 34,
Throat = 35,
WaistMidBack = 36,
WaistFront = 37,
WaistLeft = 38,
WaistRight = 39,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LeftLeg = 0
LeftCalf = 1
LeftShin = 2
LeftHamstring = 3
LeftQuad = 4
LeftGlute = 5
RightLeg = 6
RightCalf = 7
RightShin = 8
RightHamstring = 9
RightQuad = 10
RightGlute = 11
TorsoBack = 12
LeftLowerBack = 13
LeftUpperBack = 14
RightLowerBack = 15
RightUpperBack = 16
TorsoFront = 17
LeftAbdomen = 18
LeftChest = 19
RightAbdomen = 20
RightChest = 21
LeftArm = 22
LeftShoulder = 23
LeftBicep = 24
LeftTricep = 25
LeftBrachioradialis = 26
LeftForearmExtensors = 27
RightArm = 28
RightShoulder = 29
RightBicep = 30
RightTricep = 31
RightBrachioradialis = 32
RightForearmExtensors = 33
Neck = 34
Throat = 35
WaistMidBack = 36
WaistFront = 37
WaistLeft = 38
WaistRight = 39
Implementations§
Source§impl BodyLocation
impl BodyLocation
Trait Implementations§
Source§impl Clone for BodyLocation
impl Clone for BodyLocation
Source§fn clone(&self) -> BodyLocation
fn clone(&self) -> BodyLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BodyLocation
impl Debug for BodyLocation
Source§impl Hash for BodyLocation
impl Hash for BodyLocation
Source§impl PartialEq for BodyLocation
impl PartialEq for BodyLocation
Source§fn eq(&self, other: &BodyLocation) -> bool
fn eq(&self, other: &BodyLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BodyLocation
impl Eq for BodyLocation
impl StructuralPartialEq for BodyLocation
Auto Trait Implementations§
impl Freeze for BodyLocation
impl RefUnwindSafe for BodyLocation
impl Send for BodyLocation
impl Sync for BodyLocation
impl Unpin for BodyLocation
impl UnsafeUnpin for BodyLocation
impl UnwindSafe for BodyLocation
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