Struct physx_sys::PxSweepHit
source · [−]#[repr(C)]pub struct PxSweepHit {
pub actor: *mut PxRigidActor,
pub shape: *mut PxShape,
pub faceIndex: u32,
pub flags: PxHitFlags,
pub structgen_pad0: [u8; 2],
pub position: PxVec3,
pub normal: PxVec3,
pub distance: f32,
pub padTo16Bytes: u32,
}
Fields
actor: *mut PxRigidActor
shape: *mut PxShape
faceIndex: u32
flags: PxHitFlags
structgen_pad0: [u8; 2]
position: PxVec3
normal: PxVec3
distance: f32
padTo16Bytes: u32
Trait Implementations
sourceimpl Clone for PxSweepHit
impl Clone for PxSweepHit
sourcefn clone(&self) -> PxSweepHit
fn clone(&self) -> PxSweepHit
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 PxSweepHit
Auto Trait Implementations
impl RefUnwindSafe for PxSweepHit
impl !Send for PxSweepHit
impl !Sync for PxSweepHit
impl Unpin for PxSweepHit
impl UnwindSafe for PxSweepHit
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