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