Struct boxcars::UpdatedAttribute
source · pub struct UpdatedAttribute {
pub actor_id: ActorId,
pub stream_id: StreamId,
pub object_id: ObjectId,
pub attribute: Attribute,
}
Expand description
Notifies that an actor has had one of their properties updated (most likely their rigid body state (location / rotation) has changed)
Fields§
§actor_id: ActorId
The actor that had an attribute updated
stream_id: StreamId
The attribute stream id that was decoded
object_id: ObjectId
The attribute’s object id
attribute: Attribute
The actual data from the decoded attribute
Trait Implementations§
source§impl Clone for UpdatedAttribute
impl Clone for UpdatedAttribute
source§fn clone(&self) -> UpdatedAttribute
fn clone(&self) -> UpdatedAttribute
Returns a copy 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 UpdatedAttribute
impl Debug for UpdatedAttribute
source§impl PartialEq<UpdatedAttribute> for UpdatedAttribute
impl PartialEq<UpdatedAttribute> for UpdatedAttribute
source§fn eq(&self, other: &UpdatedAttribute) -> bool
fn eq(&self, other: &UpdatedAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.