pub struct ClientboundPlayPosition {
pub teleport_id: i32,
pub x: f64,
pub y: f64,
pub z: f64,
pub dx: f64,
pub dy: f64,
pub dz: f64,
pub yaw: f32,
pub pitch: f32,
pub flags: u32,
}Fields§
§teleport_id: i32§x: f64§y: f64§z: f64§dx: f64§dy: f64§dz: f64§yaw: f32§pitch: f32§flags: u32Implementations§
Source§impl ClientboundPlayPosition
impl ClientboundPlayPosition
Sourcepub const PACKET_ID: i32 = 66i32
pub const PACKET_ID: i32 = 66i32
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 ClientboundPlayPosition
impl Clone for ClientboundPlayPosition
Source§fn clone(&self) -> ClientboundPlayPosition
fn clone(&self) -> ClientboundPlayPosition
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 ClientboundPlayPosition
impl Debug for ClientboundPlayPosition
Source§impl Default for ClientboundPlayPosition
impl Default for ClientboundPlayPosition
Source§fn default() -> ClientboundPlayPosition
fn default() -> ClientboundPlayPosition
Returns the “default value” for a type. Read more
Source§impl Encode for ClientboundPlayPosition
impl Encode for ClientboundPlayPosition
Source§impl EncodedSize for ClientboundPlayPosition
impl EncodedSize for ClientboundPlayPosition
fn encoded_size(&self) -> usize
Source§impl PartialEq for ClientboundPlayPosition
impl PartialEq for ClientboundPlayPosition
impl StructuralPartialEq for ClientboundPlayPosition
Auto Trait Implementations§
impl Freeze for ClientboundPlayPosition
impl RefUnwindSafe for ClientboundPlayPosition
impl Send for ClientboundPlayPosition
impl Sync for ClientboundPlayPosition
impl Unpin for ClientboundPlayPosition
impl UnsafeUnpin for ClientboundPlayPosition
impl UnwindSafe for ClientboundPlayPosition
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