Struct physx_sys::PxSolverBodyData
source · #[repr(C)]pub struct PxSolverBodyData {
pub linearVelocity: PxVec3,
pub invMass: f32,
pub angularVelocity: PxVec3,
pub reportThreshold: f32,
pub sqrtInvInertia: PxMat33,
pub penBiasClamp: f32,
pub nodeIndex: u32,
pub maxContactImpulse: f32,
pub body2World: PxTransform,
pub pad: u16,
pub structgen_pad0: [u8; 2],
}
Fields§
§linearVelocity: PxVec3
§invMass: f32
§angularVelocity: PxVec3
§reportThreshold: f32
§sqrtInvInertia: PxMat33
§penBiasClamp: f32
§nodeIndex: u32
§maxContactImpulse: f32
§body2World: PxTransform
§pad: u16
§structgen_pad0: [u8; 2]
Trait Implementations§
source§impl Clone for PxSolverBodyData
impl Clone for PxSolverBodyData
source§fn clone(&self) -> PxSolverBodyData
fn clone(&self) -> PxSolverBodyData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PxSolverBodyData
Auto Trait Implementations§
impl RefUnwindSafe for PxSolverBodyData
impl Send for PxSolverBodyData
impl Sync for PxSolverBodyData
impl Unpin for PxSolverBodyData
impl UnwindSafe for PxSolverBodyData
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