Enum ToolKind
#[repr(u8)]pub enum ToolKind {
ObservationRay = 0,
HandSpade = 1,
Pickaxe = 2,
ExcavatorBucket = 3,
FossorialClaw = 4,
}Expand description
Tool physical class distinguishing human implements, machinery, and abstract clicks.
Variants§
ObservationRay = 0
Mouse pointer or camera raycast: dimensionless observational probe (0 N force).
HandSpade = 1
Manual hand spade or garden shovel (wedge cutting blade, foot drive).
Pickaxe = 2
Manual pickaxe or mattock (high-impulse point chisel for brittle fracture).
ExcavatorBucket = 3
Heavy hydraulic excavator bucket with Ripper teeth.
FossorialClaw = 4
Animal fossorial scratching claws (Wombat Vombatus ursinus).
Trait Implementations§
impl Copy for ToolKind
impl Eq for ToolKind
impl StructuralPartialEq for ToolKind
Auto Trait Implementations§
impl Freeze for ToolKind
impl RefUnwindSafe for ToolKind
impl Send for ToolKind
impl Sync for ToolKind
impl Unpin for ToolKind
impl UnsafeUnpin for ToolKind
impl UnwindSafe for ToolKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.