pub struct EntityMoveLook {
pub entity_id: i32,
pub d_x: i8,
pub d_y: i8,
pub d_z: i8,
pub yaw: i8,
pub pitch: i8,
pub on_ground: bool,
}Expand description
entity_move_look (clientbound play, id 0x17).
Fields§
§entity_id: i32entityId
d_x: i8dX
d_y: i8dY
d_z: i8dZ
yaw: i8yaw
pitch: i8pitch
on_ground: boolonGround
Trait Implementations§
Source§impl Clone for EntityMoveLook
impl Clone for EntityMoveLook
Source§impl Debug for EntityMoveLook
impl Debug for EntityMoveLook
Source§impl Decode for EntityMoveLook
impl Decode for EntityMoveLook
Source§fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
Decodes one value, advancing the reader past it.
Source§impl Encode for EntityMoveLook
impl Encode for EntityMoveLook
Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl From<EntityMoveLook> for ClientboundPlayPacket
impl From<EntityMoveLook> for ClientboundPlayPacket
Source§fn from(p: EntityMoveLook) -> Self
fn from(p: EntityMoveLook) -> Self
Converts to this type from the input type.
Source§impl Generate for EntityMoveLook
Available on crate feature testgen only.
impl Generate for EntityMoveLook
Available on crate feature
testgen only.Source§impl Packet for EntityMoveLook
impl Packet for EntityMoveLook
Source§impl PartialEq for EntityMoveLook
impl PartialEq for EntityMoveLook
impl StructuralPartialEq for EntityMoveLook
Auto Trait Implementations§
impl Freeze for EntityMoveLook
impl RefUnwindSafe for EntityMoveLook
impl Send for EntityMoveLook
impl Sync for EntityMoveLook
impl Unpin for EntityMoveLook
impl UnsafeUnpin for EntityMoveLook
impl UnwindSafe for EntityMoveLook
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