Struct physx_sys::PxRaycastHit
source · [−]#[repr(C)]pub struct PxRaycastHit {
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 u: f32,
pub v: f32,
pub structgen_pad1: [u8; 4],
}
Fields
actor: *mut PxRigidActor
shape: *mut PxShape
faceIndex: u32
flags: PxHitFlags
structgen_pad0: [u8; 2]
position: PxVec3
normal: PxVec3
distance: f32
u: f32
v: f32
structgen_pad1: [u8; 4]
Trait Implementations
sourceimpl Clone for PxRaycastHit
impl Clone for PxRaycastHit
sourcefn clone(&self) -> PxRaycastHit
fn clone(&self) -> PxRaycastHit
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PxRaycastHit
Auto Trait Implementations
impl RefUnwindSafe for PxRaycastHit
impl !Send for PxRaycastHit
impl !Sync for PxRaycastHit
impl Unpin for PxRaycastHit
impl UnwindSafe for PxRaycastHit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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