pub enum ServerboundPlayUseEntityMouse {
Variant0 {
hand: i32,
},
Variant2 {
x: f32,
y: f32,
z: f32,
hand: i32,
},
}Expand description
Switch enum used by ServerboundPlayUseEntity.
Variants§
Trait Implementations§
Source§impl Clone for ServerboundPlayUseEntityMouse
impl Clone for ServerboundPlayUseEntityMouse
Source§fn clone(&self) -> ServerboundPlayUseEntityMouse
fn clone(&self) -> ServerboundPlayUseEntityMouse
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 EncodedSize for ServerboundPlayUseEntityMouse
impl EncodedSize for ServerboundPlayUseEntityMouse
fn encoded_size(&self) -> usize
Source§impl PartialEq for ServerboundPlayUseEntityMouse
impl PartialEq for ServerboundPlayUseEntityMouse
Source§fn eq(&self, other: &ServerboundPlayUseEntityMouse) -> bool
fn eq(&self, other: &ServerboundPlayUseEntityMouse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerboundPlayUseEntityMouse
Auto Trait Implementations§
impl Freeze for ServerboundPlayUseEntityMouse
impl RefUnwindSafe for ServerboundPlayUseEntityMouse
impl Send for ServerboundPlayUseEntityMouse
impl Sync for ServerboundPlayUseEntityMouse
impl Unpin for ServerboundPlayUseEntityMouse
impl UnsafeUnpin for ServerboundPlayUseEntityMouse
impl UnwindSafe for ServerboundPlayUseEntityMouse
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