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 for UpdatedAttribute
impl PartialEq 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 ==
.source§impl Serialize for UpdatedAttribute
impl Serialize for UpdatedAttribute
impl StructuralPartialEq for UpdatedAttribute
Auto Trait Implementations§
impl Freeze for UpdatedAttribute
impl RefUnwindSafe for UpdatedAttribute
impl Send for UpdatedAttribute
impl Sync for UpdatedAttribute
impl Unpin for UpdatedAttribute
impl UnwindSafe for UpdatedAttribute
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