Bone

Struct Bone 

Source
#[repr(C, packed(4))]
pub struct Bone {
Show 48 fields pub next: Pointer<Bone>, pub prev: Pointer<Bone>, pub prop: Pointer<IDProperty>, pub parent: Pointer<Bone>, pub childbase: ListBase, pub name: [i8; 64], pub roll: f32, pub head: [f32; 3], pub tail: [f32; 3], pub bone_mat: [[f32; 3]; 3], pub flag: i32, pub inherit_scale_mode: i8, pub _pad: [i8; 7], pub arm_head: [f32; 3], pub arm_tail: [f32; 3], pub arm_mat: [[f32; 4]; 4], pub arm_roll: f32, pub dist: f32, pub weight: f32, pub xwidth: f32, pub length: f32, pub zwidth: f32, pub rad_head: f32, pub rad_tail: f32, pub roll1: f32, pub roll2: f32, pub curveInX: f32, pub curveInY: f32, pub curveOutX: f32, pub curveOutY: f32, pub ease1: f32, pub ease2: f32, pub scaleIn: f32, pub scale_in_y: f32, pub scaleOut: f32, pub scale_out_y: f32, pub scale_in: [f32; 3], pub scale_out: [f32; 3], pub size: [f32; 3], pub layer: i32, pub segments: i16, pub bbone_prev_type: i8, pub bbone_next_type: i8, pub bbone_flag: i32, pub bbone_prev_flag: i16, pub bbone_next_flag: i16, pub bbone_prev: Pointer<Bone>, pub bbone_next: Pointer<Bone>,
}

Fields§

§next: Pointer<Bone>§prev: Pointer<Bone>§prop: Pointer<IDProperty>§parent: Pointer<Bone>§childbase: ListBase§name: [i8; 64]§roll: f32§head: [f32; 3]§tail: [f32; 3]§bone_mat: [[f32; 3]; 3]§flag: i32§inherit_scale_mode: i8§_pad: [i8; 7]§arm_head: [f32; 3]§arm_tail: [f32; 3]§arm_mat: [[f32; 4]; 4]§arm_roll: f32§dist: f32§weight: f32§xwidth: f32§length: f32§zwidth: f32§rad_head: f32§rad_tail: f32§roll1: f32§roll2: f32§curveInX: f32§curveInY: f32§curveOutX: f32§curveOutY: f32§ease1: f32§ease2: f32§scaleIn: f32§scale_in_y: f32§scaleOut: f32§scale_out_y: f32§scale_in: [f32; 3]§scale_out: [f32; 3]§size: [f32; 3]§layer: i32§segments: i16§bbone_prev_type: i8§bbone_next_type: i8§bbone_flag: i32§bbone_prev_flag: i16§bbone_next_flag: i16§bbone_prev: Pointer<Bone>§bbone_next: Pointer<Bone>

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Bone

§

impl RefUnwindSafe for Bone

§

impl Send for Bone

§

impl Sync for Bone

§

impl Unpin for Bone

§

impl UnwindSafe for Bone

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> 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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.