pub struct PxRaycastHit {
pub actor: Option<PxRigidActorRef>,
pub shape: Option<PxShape>,
pub face_index: u32,
pub flags: PxHitFlags,
pub position: Vec3,
pub normal: Vec3,
pub distance: f32,
pub u: f32,
pub v: f32,
}Fields§
§actor: Option<PxRigidActorRef>§shape: Option<PxShape>§face_index: u32§flags: PxHitFlags§position: Vec3§normal: Vec3§distance: f32§u: f32§v: f32Trait Implementations§
Source§impl Clone for PxRaycastHit
impl Clone for PxRaycastHit
Source§fn clone(&self) -> PxRaycastHit
fn clone(&self) -> PxRaycastHit
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 moreAuto Trait Implementations§
impl Freeze for PxRaycastHit
impl RefUnwindSafe for PxRaycastHit
impl Send for PxRaycastHit
impl Sync for PxRaycastHit
impl Unpin for PxRaycastHit
impl UnwindSafe for PxRaycastHit
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