Struct physxx::PxRaycastHit
source · 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 copy 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 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