pub enum HitCategory {
Terrain,
Feature,
Symbol,
Model,
}Expand description
Broad category of a pick result.
Variants§
Terrain
A terrain surface hit (screen -> geo recovery).
Feature
A vector feature hit (fill, line, circle, heatmap, extrusion).
Symbol
A placed symbol hit (text / icon collision box).
Model
A 3D model instance hit.
Trait Implementations§
Source§impl Clone for HitCategory
impl Clone for HitCategory
Source§fn clone(&self) -> HitCategory
fn clone(&self) -> HitCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HitCategory
Source§impl Debug for HitCategory
impl Debug for HitCategory
impl Eq for HitCategory
Source§impl Hash for HitCategory
impl Hash for HitCategory
Source§impl PartialEq for HitCategory
impl PartialEq for HitCategory
Source§fn eq(&self, other: &HitCategory) -> bool
fn eq(&self, other: &HitCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HitCategory
Auto Trait Implementations§
impl Freeze for HitCategory
impl RefUnwindSafe for HitCategory
impl Send for HitCategory
impl Sync for HitCategory
impl Unpin for HitCategory
impl UnsafeUnpin for HitCategory
impl UnwindSafe for HitCategory
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