pub struct RayHits {
pub hits: Vec<RayHit>,
pub grazed: bool,
}Expand description
A ray’s hits on a surface, and whether any of them, or a place the ray passes, is too near tangent for the count of hits to be trusted.
Fields§
§hits: Vec<RayHit>The hits, each once.
grazed: boolThe ray touches the surface tangentially, runs in it, or passes within the reach of it without a crossing that settles.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RayHits
impl RefUnwindSafe for RayHits
impl Send for RayHits
impl Sync for RayHits
impl Unpin for RayHits
impl UnsafeUnpin for RayHits
impl UnwindSafe for RayHits
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