pub struct EntityStateUpdate {
pub entity_id: EntityId,
pub entity_linear_velocity: VectorF32,
pub entity_location: Location,
pub entity_orientation: Orientation,
pub entity_appearance: EntityAppearance,
pub variable_parameters: Vec<VariableParameter>,
}Expand description
5.3.5 Entity State Update PDU
7.2.5 Entity State Update PDU
Fields§
§entity_id: EntityId§entity_linear_velocity: VectorF32§entity_location: Location§entity_orientation: Orientation§entity_appearance: EntityAppearance§variable_parameters: Vec<VariableParameter>Implementations§
Source§impl EntityStateUpdate
impl EntityStateUpdate
pub fn builder() -> EntityStateUpdateBuilder
pub fn into_builder(self) -> EntityStateUpdateBuilder
pub fn into_pdu_body(self) -> PduBody
Trait Implementations§
Source§impl BodyInfo for EntityStateUpdate
impl BodyInfo for EntityStateUpdate
Source§impl Clone for EntityStateUpdate
impl Clone for EntityStateUpdate
Source§fn clone(&self) -> EntityStateUpdate
fn clone(&self) -> EntityStateUpdate
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 EntityStateUpdate
impl Debug for EntityStateUpdate
Source§impl Default for EntityStateUpdate
impl Default for EntityStateUpdate
Source§fn default() -> EntityStateUpdate
fn default() -> EntityStateUpdate
Returns the “default value” for a type. Read more
Source§impl Interaction for EntityStateUpdate
impl Interaction for EntityStateUpdate
Source§impl PartialEq for EntityStateUpdate
impl PartialEq for EntityStateUpdate
Source§impl SerializePdu for EntityStateUpdate
impl SerializePdu for EntityStateUpdate
fn serialize_pdu(&self, _version: SupportedVersion, buf: &mut BytesMut) -> u16
impl StructuralPartialEq for EntityStateUpdate
Auto Trait Implementations§
impl Freeze for EntityStateUpdate
impl RefUnwindSafe for EntityStateUpdate
impl Send for EntityStateUpdate
impl Sync for EntityStateUpdate
impl Unpin for EntityStateUpdate
impl UnwindSafe for EntityStateUpdate
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