pub struct ClientsideEntityPositionSync {
pub entity_id: i32,
pub position: Vector3,
pub velocity: Vector3,
pub rotation: Rotation,
pub on_ground: bool,
}Fields§
§entity_id: i32§position: Vector3§velocity: Vector3§rotation: Rotation§on_ground: boolImplementations§
Trait Implementations§
Source§impl Clone for ClientsideEntityPositionSync
impl Clone for ClientsideEntityPositionSync
Source§fn clone(&self) -> ClientsideEntityPositionSync
fn clone(&self) -> ClientsideEntityPositionSync
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 ClientsideEntityPositionSync
impl Debug for ClientsideEntityPositionSync
Source§impl IntoPacket<ClientsidePlayPacket> for ClientsideEntityPositionSync
impl IntoPacket<ClientsidePlayPacket> for ClientsideEntityPositionSync
fn into_packet(self) -> ClientsidePlayPacket
Source§impl PartialEq for ClientsideEntityPositionSync
impl PartialEq for ClientsideEntityPositionSync
Source§fn eq(&self, other: &ClientsideEntityPositionSync) -> bool
fn eq(&self, other: &ClientsideEntityPositionSync) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientsideEntityPositionSync
Auto Trait Implementations§
impl Freeze for ClientsideEntityPositionSync
impl RefUnwindSafe for ClientsideEntityPositionSync
impl Send for ClientsideEntityPositionSync
impl Sync for ClientsideEntityPositionSync
impl Unpin for ClientsideEntityPositionSync
impl UnsafeUnpin for ClientsideEntityPositionSync
impl UnwindSafe for ClientsideEntityPositionSync
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