Struct physx_sys::PxContactPatch
source · [−]#[repr(C)]pub struct PxContactPatch {
pub mMassModification: PxMassModificationProps,
pub normal: PxVec3,
pub restitution: f32,
pub dynamicFriction: f32,
pub staticFriction: f32,
pub startContactIndex: u8,
pub nbContacts: u8,
pub materialFlags: u8,
pub internalFlags: u8,
pub materialIndex0: u16,
pub materialIndex1: u16,
}
Fields
mMassModification: PxMassModificationProps
normal: PxVec3
restitution: f32
dynamicFriction: f32
staticFriction: f32
startContactIndex: u8
nbContacts: u8
materialFlags: u8
internalFlags: u8
materialIndex0: u16
materialIndex1: u16
Trait Implementations
sourceimpl Clone for PxContactPatch
impl Clone for PxContactPatch
sourcefn clone(&self) -> PxContactPatch
fn clone(&self) -> PxContactPatch
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 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
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