pub struct PartHit<S: Scalar> {
pub entity: EntityRef,
pub point: Vector3<S>,
pub t: S,
}Expand description
An entity a pointer is over, where, and how far along its ray.
Fields§
§entity: EntityRef§point: Vector3<S>§t: STrait Implementations§
Source§impl<S: PartialEq + Scalar> PartialEq for PartHit<S>
impl<S: PartialEq + Scalar> PartialEq for PartHit<S>
impl<S: PartialEq + Scalar> StructuralPartialEq for PartHit<S>
Auto Trait Implementations§
impl<S> Freeze for PartHit<S>where
S: Freeze,
impl<S> RefUnwindSafe for PartHit<S>where
S: RefUnwindSafe,
impl<S> Send for PartHit<S>
impl<S> Sync for PartHit<S>
impl<S> Unpin for PartHit<S>where
S: Unpin,
impl<S> UnsafeUnpin for PartHit<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for PartHit<S>where
S: UnwindSafe,
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