Skip to main content

HumanBone

Enum HumanBone 

Source
pub enum HumanBone {
Show 55 variants Hips, Spine, Chest, UpperChest, Neck, Head, LeftEye, RightEye, Jaw, LeftUpperLeg, LeftLowerLeg, LeftFoot, LeftToes, RightUpperLeg, RightLowerLeg, RightFoot, RightToes, LeftShoulder, LeftUpperArm, LeftLowerArm, LeftHand, RightShoulder, RightUpperArm, RightLowerArm, RightHand, LeftThumbMetacarpal, LeftThumbProximal, LeftThumbDistal, LeftIndexProximal, LeftIndexIntermediate, LeftIndexDistal, LeftMiddleProximal, LeftMiddleIntermediate, LeftMiddleDistal, LeftRingProximal, LeftRingIntermediate, LeftRingDistal, LeftLittleProximal, LeftLittleIntermediate, LeftLittleDistal, RightThumbMetacarpal, RightThumbProximal, RightThumbDistal, RightIndexProximal, RightIndexIntermediate, RightIndexDistal, RightMiddleProximal, RightMiddleIntermediate, RightMiddleDistal, RightRingProximal, RightRingIntermediate, RightRingDistal, RightLittleProximal, RightLittleIntermediate, RightLittleDistal,
}
Expand description

The standard humanoid bone set of a VRM avatar.

Variants§

§

Hips

The pelvis and root of the humanoid skeleton.

§

Spine

The lower spine.

§

Chest

The chest above the spine.

§

UpperChest

The optional upper chest above the chest.

§

Neck

The neck below the head.

§

Head

The head.

§

LeftEye

The left eye.

§

RightEye

The right eye.

§

Jaw

The jaw.

§

LeftUpperLeg

The left thigh.

§

LeftLowerLeg

The left lower leg.

§

LeftFoot

The left foot.

§

LeftToes

The left toes.

§

RightUpperLeg

The right thigh.

§

RightLowerLeg

The right lower leg.

§

RightFoot

The right foot.

§

RightToes

The right toes.

§

LeftShoulder

The left shoulder.

§

LeftUpperArm

The left upper arm.

§

LeftLowerArm

The left lower arm.

§

LeftHand

The left hand.

§

RightShoulder

The right shoulder.

§

RightUpperArm

The right upper arm.

§

RightLowerArm

The right lower arm.

§

RightHand

The right hand.

§

LeftThumbMetacarpal

The left thumb metacarpal.

§

LeftThumbProximal

The left thumb proximal phalanx.

§

LeftThumbDistal

The left thumb distal phalanx.

§

LeftIndexProximal

The left index proximal phalanx.

§

LeftIndexIntermediate

The left index intermediate phalanx.

§

LeftIndexDistal

The left index distal phalanx.

§

LeftMiddleProximal

The left middle proximal phalanx.

§

LeftMiddleIntermediate

The left middle intermediate phalanx.

§

LeftMiddleDistal

The left middle distal phalanx.

§

LeftRingProximal

The left ring proximal phalanx.

§

LeftRingIntermediate

The left ring intermediate phalanx.

§

LeftRingDistal

The left ring distal phalanx.

§

LeftLittleProximal

The left little-finger proximal phalanx.

§

LeftLittleIntermediate

The left little-finger intermediate phalanx.

§

LeftLittleDistal

The left little-finger distal phalanx.

§

RightThumbMetacarpal

The right thumb metacarpal.

§

RightThumbProximal

The right thumb proximal phalanx.

§

RightThumbDistal

The right thumb distal phalanx.

§

RightIndexProximal

The right index proximal phalanx.

§

RightIndexIntermediate

The right index intermediate phalanx.

§

RightIndexDistal

The right index distal phalanx.

§

RightMiddleProximal

The right middle proximal phalanx.

§

RightMiddleIntermediate

The right middle intermediate phalanx.

§

RightMiddleDistal

The right middle distal phalanx.

§

RightRingProximal

The right ring proximal phalanx.

§

RightRingIntermediate

The right ring intermediate phalanx.

§

RightRingDistal

The right ring distal phalanx.

§

RightLittleProximal

The right little-finger proximal phalanx.

§

RightLittleIntermediate

The right little-finger intermediate phalanx.

§

RightLittleDistal

The right little-finger distal phalanx.

Trait Implementations§

Source§

impl Clone for HumanBone

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for HumanBone

Source§

impl Debug for HumanBone

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for HumanBone

Source§

impl From<HumanBoneName> for HumanBone

Source§

fn from(name: HumanBoneName) -> Self

Converts to this type from the input type.
Source§

impl Hash for HumanBone

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for HumanBone

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for HumanBone

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.