pub enum InteractionHand {
MainHand,
OffHand,
}Expand description
Represents the hand used for an interaction.
Variants§
Trait Implementations§
Source§impl Clone for InteractionHand
impl Clone for InteractionHand
Source§fn clone(&self) -> InteractionHand
fn clone(&self) -> InteractionHand
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 InteractionHand
Source§impl Debug for InteractionHand
impl Debug for InteractionHand
impl Eq for InteractionHand
Source§impl PartialEq for InteractionHand
impl PartialEq for InteractionHand
Source§fn eq(&self, other: &InteractionHand) -> bool
fn eq(&self, other: &InteractionHand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReadFrom for InteractionHand
impl ReadFrom for InteractionHand
impl StructuralPartialEq for InteractionHand
Auto Trait Implementations§
impl Freeze for InteractionHand
impl RefUnwindSafe for InteractionHand
impl Send for InteractionHand
impl Sync for InteractionHand
impl Unpin for InteractionHand
impl UnsafeUnpin for InteractionHand
impl UnwindSafe for InteractionHand
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
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
Compare self to
key and return true if they are equal.