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