pub enum HitProvenance {
GeometricApproximation,
TerrainSurface,
RendererExact,
}Expand description
How a pick hit was resolved.
This allows callers to understand the precision class of each hit without forcing them to care about internal implementation details.
Variants§
GeometricApproximation
CPU-side feature geometry test (point-in-polygon, segment distance, bounding-radius, collision-box intersection).
TerrainSurface
Terrain surface recovery from cached elevation data (ray-march or bilinear interpolation).
RendererExact
Renderer-owned depth / coordinate / object buffer readback
(future; not yet available in v1.0).
Trait Implementations§
Source§impl Clone for HitProvenance
impl Clone for HitProvenance
Source§fn clone(&self) -> HitProvenance
fn clone(&self) -> HitProvenance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HitProvenance
impl Debug for HitProvenance
Source§impl Hash for HitProvenance
impl Hash for HitProvenance
Source§impl PartialEq for HitProvenance
impl PartialEq for HitProvenance
impl Copy for HitProvenance
impl Eq for HitProvenance
impl StructuralPartialEq for HitProvenance
Auto Trait Implementations§
impl Freeze for HitProvenance
impl RefUnwindSafe for HitProvenance
impl Send for HitProvenance
impl Sync for HitProvenance
impl Unpin for HitProvenance
impl UnsafeUnpin for HitProvenance
impl UnwindSafe for HitProvenance
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