pub struct RayHit {
pub body: Option<RigidBodyHandle>,
pub collider: ColliderHandle,
pub distance: f32,
pub point: [f32; 3],
pub normal: [f32; 3],
}Fields§
§body: Option<RigidBodyHandle>§collider: ColliderHandle§distance: f32§point: [f32; 3]§normal: [f32; 3]Trait Implementations§
Auto Trait Implementations§
impl Freeze for RayHit
impl RefUnwindSafe for RayHit
impl Send for RayHit
impl Sync for RayHit
impl Unpin for RayHit
impl UnwindSafe for RayHit
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