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 lockFlags: u16,
pub pad: u16,
}
Fields
linearVelocity: PxVec3
invMass: f32
angularVelocity: PxVec3
reportThreshold: f32
sqrtInvInertia: PxMat33
penBiasClamp: f32
nodeIndex: u32
maxContactImpulse: f32
body2World: PxTransform
lockFlags: u16
pad: u16
Trait Implementations
sourceimpl Clone for PxSolverBodyData
impl Clone for PxSolverBodyData
sourcefn clone(&self) -> PxSolverBodyData
fn clone(&self) -> PxSolverBodyData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more