pub struct ServerboundPlayUpdateStructureBlock {}Fields§
§location: Position§action: i32§mode: i32§name: String§offset_x: i8§offset_y: i8§offset_z: i8§size_x: i8§size_y: i8§size_z: i8§mirror: i32§rotation: i32§metadata: String§integrity: f32§seed: i32§flags: u8Implementations§
Source§impl ServerboundPlayUpdateStructureBlock
impl ServerboundPlayUpdateStructureBlock
Sourcepub const PACKET_ID: i32 = 56i32
pub const PACKET_ID: i32 = 56i32
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 ServerboundPlayUpdateStructureBlock
impl Clone for ServerboundPlayUpdateStructureBlock
Source§fn clone(&self) -> ServerboundPlayUpdateStructureBlock
fn clone(&self) -> ServerboundPlayUpdateStructureBlock
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 Default for ServerboundPlayUpdateStructureBlock
impl Default for ServerboundPlayUpdateStructureBlock
Source§fn default() -> ServerboundPlayUpdateStructureBlock
fn default() -> ServerboundPlayUpdateStructureBlock
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ServerboundPlayUpdateStructureBlock
impl EncodedSize for ServerboundPlayUpdateStructureBlock
fn encoded_size(&self) -> usize
Source§impl PartialEq for ServerboundPlayUpdateStructureBlock
impl PartialEq for ServerboundPlayUpdateStructureBlock
Source§fn eq(&self, other: &ServerboundPlayUpdateStructureBlock) -> bool
fn eq(&self, other: &ServerboundPlayUpdateStructureBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerboundPlayUpdateStructureBlock
Auto Trait Implementations§
impl Freeze for ServerboundPlayUpdateStructureBlock
impl RefUnwindSafe for ServerboundPlayUpdateStructureBlock
impl Send for ServerboundPlayUpdateStructureBlock
impl Sync for ServerboundPlayUpdateStructureBlock
impl Unpin for ServerboundPlayUpdateStructureBlock
impl UnsafeUnpin for ServerboundPlayUpdateStructureBlock
impl UnwindSafe for ServerboundPlayUpdateStructureBlock
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