pub enum InteractionTargetKind {
Terrain,
Feature,
Symbol,
Model,
}Expand description
Broad interaction target class.
Variants§
Terrain
Terrain surface target.
Feature
Vector feature target.
Symbol
Placed symbol target.
Model
3D model target.
Implementations§
Source§impl InteractionTargetKind
impl InteractionTargetKind
Sourcepub const fn from_hit_category(category: HitCategory) -> Self
pub const fn from_hit_category(category: HitCategory) -> Self
Derive an interaction target kind from a pick-hit category.
Trait Implementations§
Source§impl Clone for InteractionTargetKind
impl Clone for InteractionTargetKind
Source§fn clone(&self) -> InteractionTargetKind
fn clone(&self) -> InteractionTargetKind
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 InteractionTargetKind
impl Debug for InteractionTargetKind
Source§impl Hash for InteractionTargetKind
impl Hash for InteractionTargetKind
Source§impl PartialEq for InteractionTargetKind
impl PartialEq for InteractionTargetKind
impl Copy for InteractionTargetKind
impl Eq for InteractionTargetKind
impl StructuralPartialEq for InteractionTargetKind
Auto Trait Implementations§
impl Freeze for InteractionTargetKind
impl RefUnwindSafe for InteractionTargetKind
impl Send for InteractionTargetKind
impl Sync for InteractionTargetKind
impl Unpin for InteractionTargetKind
impl UnsafeUnpin for InteractionTargetKind
impl UnwindSafe for InteractionTargetKind
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