Enum entmet_lib::entities::entity::HandStates
source · #[repr(u8)]pub enum HandStates {
None = 0,
HandActiveMain = 1,
HandActiveOffhand = 3,
RiptideSpin = 4,
}Expand description
An enum of the state of the hand of an entity
Variants§
None = 0
The hand does nothing
HandActiveMain = 1
The main hand is active
HandActiveOffhand = 3
The offhand is active
RiptideSpin = 4
A riptide spin is active
Trait Implementations§
source§impl Clone for HandStates
impl Clone for HandStates
source§fn clone(&self) -> HandStates
fn clone(&self) -> HandStates
Returns a copy 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 HandStates
impl Debug for HandStates
source§impl Default for HandStates
impl Default for HandStates
source§fn default() -> HandStates
fn default() -> HandStates
Returns the “default value” for a type. Read more
source§impl Into<u8> for HandStates
impl Into<u8> for HandStates
source§impl PartialEq for HandStates
impl PartialEq for HandStates
source§fn eq(&self, other: &HandStates) -> bool
fn eq(&self, other: &HandStates) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for HandStates
impl Eq for HandStates
impl StructuralPartialEq for HandStates
Auto Trait Implementations§
impl Freeze for HandStates
impl RefUnwindSafe for HandStates
impl Send for HandStates
impl Sync for HandStates
impl Unpin for HandStates
impl UnwindSafe for HandStates
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