pub struct RayHit<K> {
pub key: K,
pub distance: Scalar,
}Expand description
Ray hit returned in ascending distance order where supported.
Fields§
§key: KCaller key.
distance: ScalarNonnegative ray parameter.
Trait Implementations§
impl<K> StructuralPartialEq for RayHit<K>
Auto Trait Implementations§
impl<K> Freeze for RayHit<K>where
K: Freeze,
impl<K> RefUnwindSafe for RayHit<K>where
K: RefUnwindSafe,
impl<K> Send for RayHit<K>where
K: Send,
impl<K> Sync for RayHit<K>where
K: Sync,
impl<K> Unpin for RayHit<K>where
K: Unpin,
impl<K> UnwindSafe for RayHit<K>where
K: 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