Struct physx_sys::PxContactPatch
source · #[repr(C)]pub struct PxContactPatch {Show 13 fields
pub mMassModification: PxMassModificationProps,
pub normal: PxVec3,
pub restitution: f32,
pub dynamicFriction: f32,
pub staticFriction: f32,
pub damping: f32,
pub startContactIndex: u16,
pub nbContacts: u8,
pub materialFlags: u8,
pub internalFlags: u16,
pub materialIndex0: u16,
pub materialIndex1: u16,
pub pad: [u16; 5],
}
Fields§
§mMassModification: PxMassModificationProps
§normal: PxVec3
§restitution: f32
§dynamicFriction: f32
§staticFriction: f32
§damping: f32
§startContactIndex: u16
§nbContacts: u8
§materialFlags: u8
§internalFlags: u16
§materialIndex0: u16
§materialIndex1: u16
§pad: [u16; 5]
Trait Implementations§
source§impl Clone for PxContactPatch
impl Clone for PxContactPatch
source§fn clone(&self) -> PxContactPatch
fn clone(&self) -> PxContactPatch
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 PxContactPatch
Auto Trait Implementations§
impl RefUnwindSafe for PxContactPatch
impl Send for PxContactPatch
impl Sync for PxContactPatch
impl Unpin for PxContactPatch
impl UnwindSafe for PxContactPatch
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