pub struct ServersideInteract {
pub entity: i32,
pub interact_type: InteractType,
pub target_x: Option<f32>,
pub target_y: Option<f32>,
pub target_z: Option<f32>,
pub hand: Option<RelativeHand>,
pub sneak_key_pressed: bool,
}Fields§
§entity: i32§interact_type: InteractType§target_x: Option<f32>§target_y: Option<f32>§target_z: Option<f32>§hand: Option<RelativeHand>§sneak_key_pressed: boolImplementations§
Trait Implementations§
Source§impl Clone for ServersideInteract
impl Clone for ServersideInteract
Source§fn clone(&self) -> ServersideInteract
fn clone(&self) -> ServersideInteract
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 moreSource§impl Debug for ServersideInteract
impl Debug for ServersideInteract
Source§impl IntoPacket<ServersidePlayPacket> for ServersideInteract
impl IntoPacket<ServersidePlayPacket> for ServersideInteract
fn into_packet(self) -> ServersidePlayPacket
Source§impl PartialEq for ServersideInteract
impl PartialEq for ServersideInteract
Source§fn eq(&self, other: &ServersideInteract) -> bool
fn eq(&self, other: &ServersideInteract) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServersideInteract
Auto Trait Implementations§
impl Freeze for ServersideInteract
impl RefUnwindSafe for ServersideInteract
impl Send for ServersideInteract
impl Sync for ServersideInteract
impl Unpin for ServersideInteract
impl UnsafeUnpin for ServersideInteract
impl UnwindSafe for ServersideInteract
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