pub struct ClientboundPlayMap {
pub item_damage: i32,
pub scale: i8,
pub locked: bool,
pub icons: Option<Vec<u8>>,
pub columns: u8,
pub rows: Vec<u8>,
pub x: Vec<u8>,
pub y: Vec<u8>,
pub data: Vec<u8>,
}Fields§
§item_damage: i32§scale: i8§locked: bool§icons: Option<Vec<u8>>§columns: u8§rows: Vec<u8>§x: Vec<u8>§y: Vec<u8>§data: Vec<u8>Implementations§
Source§impl ClientboundPlayMap
impl ClientboundPlayMap
Sourcepub const PACKET_ID: i32 = 45i32
pub const PACKET_ID: i32 = 45i32
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 ClientboundPlayMap
impl Clone for ClientboundPlayMap
Source§fn clone(&self) -> ClientboundPlayMap
fn clone(&self) -> ClientboundPlayMap
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 ClientboundPlayMap
impl Debug for ClientboundPlayMap
Source§impl Default for ClientboundPlayMap
impl Default for ClientboundPlayMap
Source§fn default() -> ClientboundPlayMap
fn default() -> ClientboundPlayMap
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ClientboundPlayMap
impl EncodedSize for ClientboundPlayMap
fn encoded_size(&self) -> usize
Source§impl PartialEq for ClientboundPlayMap
impl PartialEq for ClientboundPlayMap
impl StructuralPartialEq for ClientboundPlayMap
Auto Trait Implementations§
impl Freeze for ClientboundPlayMap
impl RefUnwindSafe for ClientboundPlayMap
impl Send for ClientboundPlayMap
impl Sync for ClientboundPlayMap
impl Unpin for ClientboundPlayMap
impl UnsafeUnpin for ClientboundPlayMap
impl UnwindSafe for ClientboundPlayMap
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