Struct boxcars::UpdatedAttribute [−][src]
pub struct UpdatedAttribute { pub actor_id: ActorId, pub stream_id: StreamId, pub attribute: Attribute, }
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
attribute: Attribute
The actual data from the decoded attribute
Trait Implementations
impl Debug for UpdatedAttribute
[src]
impl Debug for UpdatedAttribute
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for UpdatedAttribute
[src]
impl Clone for UpdatedAttribute
fn clone(&self) -> UpdatedAttribute
[src]
fn clone(&self) -> UpdatedAttribute
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for UpdatedAttribute
[src]
impl PartialEq for UpdatedAttribute
fn eq(&self, other: &UpdatedAttribute) -> bool
[src]
fn eq(&self, other: &UpdatedAttribute) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UpdatedAttribute) -> bool
[src]
fn ne(&self, other: &UpdatedAttribute) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for UpdatedAttribute
impl Send for UpdatedAttribute
impl Sync for UpdatedAttribute
impl Sync for UpdatedAttribute