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