Struct physx_sys::PxContactPoint
source · #[repr(C)]pub struct PxContactPoint {Show 13 fields
pub normal: PxVec3,
pub separation: f32,
pub point: PxVec3,
pub maxImpulse: f32,
pub targetVel: PxVec3,
pub staticFriction: f32,
pub materialFlags: u8,
pub structgen_pad0: [u8; 3],
pub internalFaceIndex1: u32,
pub dynamicFriction: f32,
pub restitution: f32,
pub damping: f32,
pub structgen_pad1: [u8; 12],
}
Fields§
§normal: PxVec3
§separation: f32
§point: PxVec3
§maxImpulse: f32
§targetVel: PxVec3
§staticFriction: f32
§materialFlags: u8
§structgen_pad0: [u8; 3]
§internalFaceIndex1: u32
§dynamicFriction: f32
§restitution: f32
§damping: f32
§structgen_pad1: [u8; 12]
Trait Implementations§
source§impl Clone for PxContactPoint
impl Clone for PxContactPoint
source§fn clone(&self) -> PxContactPoint
fn clone(&self) -> PxContactPoint
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 PxContactPoint
Auto Trait Implementations§
impl RefUnwindSafe for PxContactPoint
impl Send for PxContactPoint
impl Sync for PxContactPoint
impl Unpin for PxContactPoint
impl UnwindSafe for PxContactPoint
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