#[repr(C)]pub struct PxLocationHit {
pub faceIndex: u32,
pub flags: PxHitFlags,
pub structgen_pad0: [u8; 2],
pub position: PxVec3,
pub normal: PxVec3,
pub distance: f32,
}Fields§
§faceIndex: u32§flags: PxHitFlags§structgen_pad0: [u8; 2]§position: PxVec3§normal: PxVec3§distance: f32Trait Implementations§
Source§impl Clone for PxLocationHit
impl Clone for PxLocationHit
Source§fn clone(&self) -> PxLocationHit
fn clone(&self) -> PxLocationHit
Returns a duplicate 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 PxLocationHit
Auto Trait Implementations§
impl Freeze for PxLocationHit
impl RefUnwindSafe for PxLocationHit
impl Send for PxLocationHit
impl Sync for PxLocationHit
impl Unpin for PxLocationHit
impl UnwindSafe for PxLocationHit
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