Struct boxcars::UpdatedAttribute
[−]
[src]
pub struct UpdatedAttribute { pub actor_id: i32, pub attribute_id: i32, 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: i32
The actor that had an attribute updated
attribute_id: i32
The attribute / property id that was decoded
attribute: Attribute
The actual data from the decoded attribute
Trait Implementations
impl Debug for UpdatedAttribute
[src]
impl Clone for UpdatedAttribute
[src]
fn clone(&self) -> UpdatedAttribute
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for UpdatedAttribute
[src]
fn eq(&self, __arg_0: &UpdatedAttribute) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UpdatedAttribute) -> bool
[src]
This method tests for !=
.