Struct physx_sys::PxGpuContactPair
source · #[repr(C)]pub struct PxGpuContactPair {
pub contactPatches: *mut u8,
pub contactPoints: *mut u8,
pub contactForces: *mut f32,
pub transformCacheRef0: u32,
pub transformCacheRef1: u32,
pub nodeIndex0: PxNodeIndex,
pub nodeIndex1: PxNodeIndex,
pub actor0: *mut PxActor,
pub actor1: *mut PxActor,
pub nbContacts: u16,
pub nbPatches: u16,
pub structgen_pad0: [u8; 4],
}
Fields§
§contactPatches: *mut u8
§contactPoints: *mut u8
§contactForces: *mut f32
§transformCacheRef0: u32
§transformCacheRef1: u32
§nodeIndex0: PxNodeIndex
§nodeIndex1: PxNodeIndex
§actor0: *mut PxActor
§actor1: *mut PxActor
§nbContacts: u16
§nbPatches: u16
§structgen_pad0: [u8; 4]
Trait Implementations§
source§impl Clone for PxGpuContactPair
impl Clone for PxGpuContactPair
source§fn clone(&self) -> PxGpuContactPair
fn clone(&self) -> PxGpuContactPair
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 PxGpuContactPair
Auto Trait Implementations§
impl RefUnwindSafe for PxGpuContactPair
impl !Send for PxGpuContactPair
impl !Sync for PxGpuContactPair
impl Unpin for PxGpuContactPair
impl UnwindSafe for PxGpuContactPair
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