pub struct ClientboundPlayUpdateTime {
pub age: i64,
pub time: i64,
pub tick_day_time: bool,
}Fields§
§age: i64§time: i64§tick_day_time: boolImplementations§
Source§impl ClientboundPlayUpdateTime
impl ClientboundPlayUpdateTime
Sourcepub const PACKET_ID: i32 = 107i32
pub const PACKET_ID: i32 = 107i32
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 ClientboundPlayUpdateTime
impl Clone for ClientboundPlayUpdateTime
Source§fn clone(&self) -> ClientboundPlayUpdateTime
fn clone(&self) -> ClientboundPlayUpdateTime
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 ClientboundPlayUpdateTime
impl Debug for ClientboundPlayUpdateTime
Source§impl Default for ClientboundPlayUpdateTime
impl Default for ClientboundPlayUpdateTime
Source§fn default() -> ClientboundPlayUpdateTime
fn default() -> ClientboundPlayUpdateTime
Returns the “default value” for a type. Read more
Source§impl Encode for ClientboundPlayUpdateTime
impl Encode for ClientboundPlayUpdateTime
Source§impl EncodedSize for ClientboundPlayUpdateTime
impl EncodedSize for ClientboundPlayUpdateTime
fn encoded_size(&self) -> usize
impl StructuralPartialEq for ClientboundPlayUpdateTime
Auto Trait Implementations§
impl Freeze for ClientboundPlayUpdateTime
impl RefUnwindSafe for ClientboundPlayUpdateTime
impl Send for ClientboundPlayUpdateTime
impl Sync for ClientboundPlayUpdateTime
impl Unpin for ClientboundPlayUpdateTime
impl UnsafeUnpin for ClientboundPlayUpdateTime
impl UnwindSafe for ClientboundPlayUpdateTime
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