#[repr(C)]
pub struct PxTGSSolverContactDesc {
Show 34 fields pub invMassScales: PxConstraintInvMassScale, pub desc: *mut PxSolverConstraintDesc, pub body0: *const PxTGSSolverBodyVel, pub body1: *const PxTGSSolverBodyVel, pub body0TxI: *const PxTGSSolverBodyTxInertia, pub body1TxI: *const PxTGSSolverBodyTxInertia, pub bodyData0: *const PxTGSSolverBodyData, pub bodyData1: *const PxTGSSolverBodyData, pub bodyFrame0: PxTransform, pub bodyFrame1: PxTransform, pub bodyState0: BodyState, pub bodyState1: BodyState, pub shapeInteraction: *mut c_void, pub contacts: *mut PxContactPoint, pub numContacts: u32, pub hasMaxImpulse: bool, pub disableStrongFriction: bool, pub hasForceThresholds: bool, pub structgen_pad0: [u8; 1], pub restDistance: f32, pub maxCCDSeparation: f32, pub frictionPtr: *mut u8, pub frictionCount: u8, pub structgen_pad1: [u8; 7], pub contactForces: *mut f32, pub startFrictionPatchIndex: u32, pub numFrictionPatches: u32, pub startContactPatchIndex: u32, pub numContactPatches: u16, pub axisConstraintCount: u16, pub maxImpulse: f32, pub torsionalPatchRadius: f32, pub minTorsionalPatchRadius: f32, pub offsetSlop: f32,
}

Fields§

§invMassScales: PxConstraintInvMassScale§desc: *mut PxSolverConstraintDesc§body0: *const PxTGSSolverBodyVel§body1: *const PxTGSSolverBodyVel§body0TxI: *const PxTGSSolverBodyTxInertia§body1TxI: *const PxTGSSolverBodyTxInertia§bodyData0: *const PxTGSSolverBodyData§bodyData1: *const PxTGSSolverBodyData§bodyFrame0: PxTransform§bodyFrame1: PxTransform§bodyState0: BodyState§bodyState1: BodyState§shapeInteraction: *mut c_void§contacts: *mut PxContactPoint§numContacts: u32§hasMaxImpulse: bool§disableStrongFriction: bool§hasForceThresholds: bool§structgen_pad0: [u8; 1]§restDistance: f32§maxCCDSeparation: f32§frictionPtr: *mut u8§frictionCount: u8§structgen_pad1: [u8; 7]§contactForces: *mut f32§startFrictionPatchIndex: u32§numFrictionPatches: u32§startContactPatchIndex: u32§numContactPatches: u16§axisConstraintCount: u16§maxImpulse: f32§torsionalPatchRadius: f32§minTorsionalPatchRadius: f32§offsetSlop: f32

Trait Implementations§

source§

impl Clone for PxTGSSolverContactDesc

source§

fn clone(&self) -> PxTGSSolverContactDesc

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 Copy for PxTGSSolverContactDesc

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.