Struct rusty_spine::c::spPhysicsConstraintData

source ·
#[repr(C)]
pub struct spPhysicsConstraintData {
Show 25 fields pub name: *mut c_char, pub order: c_int, pub skinRequired: c_int, pub bone: *mut spBoneData, pub x: c_float, pub y: c_float, pub rotate: c_float, pub scaleX: c_float, pub shearX: c_float, pub limit: c_float, pub step: c_float, pub inertia: c_float, pub strength: c_float, pub damping: c_float, pub massInverse: c_float, pub wind: c_float, pub gravity: c_float, pub mix: c_float, pub inertiaGlobal: c_int, pub strengthGlobal: c_int, pub dampingGlobal: c_int, pub massGlobal: c_int, pub windGlobal: c_int, pub gravityGlobal: c_int, pub mixGlobal: c_int,
}

Fields§

§name: *mut c_char§order: c_int§skinRequired: c_int§bone: *mut spBoneData§x: c_float§y: c_float§rotate: c_float§scaleX: c_float§shearX: c_float§limit: c_float§step: c_float§inertia: c_float§strength: c_float§damping: c_float§massInverse: c_float§wind: c_float§gravity: c_float§mix: c_float§inertiaGlobal: c_int§strengthGlobal: c_int§dampingGlobal: c_int§massGlobal: c_int§windGlobal: c_int§gravityGlobal: c_int§mixGlobal: c_int

Trait Implementations§

source§

impl Clone for spPhysicsConstraintData

source§

fn clone(&self) -> spPhysicsConstraintData

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl NewFromPtr<spPhysicsConstraintData> for PhysicsConstraintData

source§

impl Copy for spPhysicsConstraintData

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> 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,

§

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>,

§

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>,

§

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.