pub struct ClientboundSetEntityMotion {
pub id: MinecraftEntityId,
pub delta: LpVec3,
}Fields§
§id: MinecraftEntityId§delta: LpVec3Implementations§
Trait Implementations§
Source§impl AzBuf for ClientboundSetEntityMotion
impl AzBuf for ClientboundSetEntityMotion
fn azalea_write(&self, buf: &mut impl Write) -> Result<(), Error>
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl Clone for ClientboundSetEntityMotion
impl Clone for ClientboundSetEntityMotion
Source§fn clone(&self) -> ClientboundSetEntityMotion
fn clone(&self) -> ClientboundSetEntityMotion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientboundSetEntityMotion
impl Debug for ClientboundSetEntityMotion
Source§impl Packet<ClientboundGamePacket> for ClientboundSetEntityMotion
impl Packet<ClientboundGamePacket> for ClientboundSetEntityMotion
fn into_variant(self) -> ClientboundGamePacket
Source§impl PartialEq for ClientboundSetEntityMotion
impl PartialEq for ClientboundSetEntityMotion
Source§fn eq(&self, other: &ClientboundSetEntityMotion) -> bool
fn eq(&self, other: &ClientboundSetEntityMotion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientboundSetEntityMotion
Auto Trait Implementations§
impl Freeze for ClientboundSetEntityMotion
impl RefUnwindSafe for ClientboundSetEntityMotion
impl Send for ClientboundSetEntityMotion
impl Sync for ClientboundSetEntityMotion
impl Unpin for ClientboundSetEntityMotion
impl UnsafeUnpin for ClientboundSetEntityMotion
impl UnwindSafe for ClientboundSetEntityMotion
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