pub struct RayHit {
pub handle: RigidBodyHandle,
pub t: f32,
pub point: Vec3,
pub normal: Vec3,
}Expand description
Result of a ray-cast hit.
Fields§
§handle: RigidBodyHandle§t: f32§point: Vec3§normal: Vec3Trait 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 UnsafeUnpin 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