Enum MainHand
#[non_exhaustive]pub enum MainHand {
Left,
Right,
}Expand description
HumanoidArm: a player’s main hand.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for MainHand
impl Eq for MainHand
impl StructuralPartialEq for MainHand
Auto Trait Implementations§
impl Freeze for MainHand
impl RefUnwindSafe for MainHand
impl Send for MainHand
impl Sync for MainHand
impl Unpin for MainHand
impl UnsafeUnpin for MainHand
impl UnwindSafe for MainHand
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