pub struct PlayTimeUpdateSpec {
pub world_age: i64,
pub time_of_day: i64,
}
Fields§
§world_age: i64
§time_of_day: i64
Trait Implementations§
Source§impl Clone for PlayTimeUpdateSpec
impl Clone for PlayTimeUpdateSpec
Source§fn clone(&self) -> PlayTimeUpdateSpec
fn clone(&self) -> PlayTimeUpdateSpec
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 PlayTimeUpdateSpec
impl Debug for PlayTimeUpdateSpec
Source§impl Deserialize for PlayTimeUpdateSpec
impl Deserialize for PlayTimeUpdateSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayTimeUpdateSpec> for (i64, i64)
impl From<PlayTimeUpdateSpec> for (i64, i64)
Source§fn from(other: PlayTimeUpdateSpec) -> Self
fn from(other: PlayTimeUpdateSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayTimeUpdateSpec
impl PartialEq for PlayTimeUpdateSpec
Source§impl Serialize for PlayTimeUpdateSpec
impl Serialize for PlayTimeUpdateSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayTimeUpdateSpec
Auto Trait Implementations§
impl Freeze for PlayTimeUpdateSpec
impl RefUnwindSafe for PlayTimeUpdateSpec
impl Send for PlayTimeUpdateSpec
impl Sync for PlayTimeUpdateSpec
impl Unpin for PlayTimeUpdateSpec
impl UnwindSafe for PlayTimeUpdateSpec
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