pub struct PlayServerPlayerPositionAndLookSpec {
pub location: EntityLocation<f64, f32>,
pub flags: PositionAndLookFlags,
pub teleport_id: VarInt,
}
Fields§
§location: EntityLocation<f64, f32>
§flags: PositionAndLookFlags
§teleport_id: VarInt
Trait Implementations§
Source§impl Clone for PlayServerPlayerPositionAndLookSpec
impl Clone for PlayServerPlayerPositionAndLookSpec
Source§fn clone(&self) -> PlayServerPlayerPositionAndLookSpec
fn clone(&self) -> PlayServerPlayerPositionAndLookSpec
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 Deserialize for PlayServerPlayerPositionAndLookSpec
impl Deserialize for PlayServerPlayerPositionAndLookSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(EntityLocation<f64, f32>, PositionAndLookFlags, VarInt)> for PlayServerPlayerPositionAndLookSpec
impl From<(EntityLocation<f64, f32>, PositionAndLookFlags, VarInt)> for PlayServerPlayerPositionAndLookSpec
Source§fn from(other: (EntityLocation<f64, f32>, PositionAndLookFlags, VarInt)) -> Self
fn from(other: (EntityLocation<f64, f32>, PositionAndLookFlags, VarInt)) -> Self
Converts to this type from the input type.
Source§impl From<PlayServerPlayerPositionAndLookSpec> for (EntityLocation<f64, f32>, PositionAndLookFlags, VarInt)
impl From<PlayServerPlayerPositionAndLookSpec> for (EntityLocation<f64, f32>, PositionAndLookFlags, VarInt)
Source§fn from(other: PlayServerPlayerPositionAndLookSpec) -> Self
fn from(other: PlayServerPlayerPositionAndLookSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayServerPlayerPositionAndLookSpec
impl PartialEq for PlayServerPlayerPositionAndLookSpec
Source§fn eq(&self, other: &PlayServerPlayerPositionAndLookSpec) -> bool
fn eq(&self, other: &PlayServerPlayerPositionAndLookSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for PlayServerPlayerPositionAndLookSpec
impl Serialize for PlayServerPlayerPositionAndLookSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayServerPlayerPositionAndLookSpec
Auto Trait Implementations§
impl Freeze for PlayServerPlayerPositionAndLookSpec
impl RefUnwindSafe for PlayServerPlayerPositionAndLookSpec
impl Send for PlayServerPlayerPositionAndLookSpec
impl Sync for PlayServerPlayerPositionAndLookSpec
impl Unpin for PlayServerPlayerPositionAndLookSpec
impl UnwindSafe for PlayServerPlayerPositionAndLookSpec
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