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