Struct physx_sys::PxSolverConstraintPrepDesc
source · #[repr(C)]pub struct PxSolverConstraintPrepDesc {Show 25 fields
pub invMassScales: PxConstraintInvMassScale,
pub desc: *mut PxSolverConstraintDesc,
pub body0: *const PxSolverBody,
pub body1: *const PxSolverBody,
pub data0: *const PxSolverBodyData,
pub data1: *const PxSolverBodyData,
pub bodyFrame0: PxTransform,
pub bodyFrame1: PxTransform,
pub bodyState0: BodyState,
pub bodyState1: BodyState,
pub structgen_pad0: [u8; 8],
pub rows: *mut Px1DConstraint,
pub numRows: u32,
pub linBreakForce: f32,
pub angBreakForce: f32,
pub minResponseThreshold: f32,
pub writeback: *mut c_void,
pub disablePreprocessing: bool,
pub improvedSlerp: bool,
pub driveLimitsAreForces: bool,
pub extendedLimits: bool,
pub disableConstraint: bool,
pub structgen_pad1: [u8; 3],
pub body0WorldOffset: PxVec3Padded,
pub structgen_pad2: [u8; 8],
}
Fields§
§invMassScales: PxConstraintInvMassScale
§desc: *mut PxSolverConstraintDesc
§body0: *const PxSolverBody
§body1: *const PxSolverBody
§data0: *const PxSolverBodyData
§data1: *const PxSolverBodyData
§bodyFrame0: PxTransform
§bodyFrame1: PxTransform
§bodyState0: BodyState
§bodyState1: BodyState
§structgen_pad0: [u8; 8]
§rows: *mut Px1DConstraint
§numRows: u32
§linBreakForce: f32
§angBreakForce: f32
§minResponseThreshold: f32
§writeback: *mut c_void
§disablePreprocessing: bool
§improvedSlerp: bool
§driveLimitsAreForces: bool
§extendedLimits: bool
§disableConstraint: bool
§structgen_pad1: [u8; 3]
§body0WorldOffset: PxVec3Padded
§structgen_pad2: [u8; 8]
Trait Implementations§
source§impl Clone for PxSolverConstraintPrepDesc
impl Clone for PxSolverConstraintPrepDesc
source§fn clone(&self) -> PxSolverConstraintPrepDesc
fn clone(&self) -> PxSolverConstraintPrepDesc
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 PxSolverConstraintPrepDesc
Auto Trait Implementations§
impl RefUnwindSafe for PxSolverConstraintPrepDesc
impl !Send for PxSolverConstraintPrepDesc
impl !Sync for PxSolverConstraintPrepDesc
impl Unpin for PxSolverConstraintPrepDesc
impl UnwindSafe for PxSolverConstraintPrepDesc
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