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 PxRigidActorshape: *mut PxShapefaceIndex: u32flags: PxHitFlagsstructgen_pad0: [u8; 2]position: PxVec3normal: PxVec3distance: f32u: f32v: f32structgen_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 · sourcefn clone_from(&mut self, source: &Self)
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