pub struct ServerboundPlayWindowClick {
pub window_id: i32,
pub state_id: i32,
pub slot: i16,
pub mouse_button: i8,
pub mode: i32,
pub changed_slots: Vec<ServerboundPlayWindowClickChangedslots>,
pub cursor_item: Slot,
}Fields§
§window_id: i32§state_id: i32§slot: i16§mode: i32§changed_slots: Vec<ServerboundPlayWindowClickChangedslots>§cursor_item: SlotImplementations§
Source§impl ServerboundPlayWindowClick
impl ServerboundPlayWindowClick
Sourcepub const PACKET_ID: i32 = 16i32
pub const PACKET_ID: i32 = 16i32
The packet ID used by the registry to dispatch this packet.
This value is declared via #[packet(id = N)] and corresponds to
the VarInt packet ID read/written by the framing layer. The struct’s
own Encode/Decode does NOT include this ID — it only encodes the
packet’s payload fields.
Trait Implementations§
Source§impl Clone for ServerboundPlayWindowClick
impl Clone for ServerboundPlayWindowClick
Source§fn clone(&self) -> ServerboundPlayWindowClick
fn clone(&self) -> ServerboundPlayWindowClick
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 Debug for ServerboundPlayWindowClick
impl Debug for ServerboundPlayWindowClick
Source§impl Default for ServerboundPlayWindowClick
impl Default for ServerboundPlayWindowClick
Source§fn default() -> ServerboundPlayWindowClick
fn default() -> ServerboundPlayWindowClick
Returns the “default value” for a type. Read more
Source§impl Encode for ServerboundPlayWindowClick
impl Encode for ServerboundPlayWindowClick
Source§impl EncodedSize for ServerboundPlayWindowClick
impl EncodedSize for ServerboundPlayWindowClick
fn encoded_size(&self) -> usize
impl StructuralPartialEq for ServerboundPlayWindowClick
Auto Trait Implementations§
impl Freeze for ServerboundPlayWindowClick
impl RefUnwindSafe for ServerboundPlayWindowClick
impl Send for ServerboundPlayWindowClick
impl Sync for ServerboundPlayWindowClick
impl Unpin for ServerboundPlayWindowClick
impl UnsafeUnpin for ServerboundPlayWindowClick
impl UnwindSafe for ServerboundPlayWindowClick
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