pub struct ReplicaEntity {
pub q: [i64; 3],
pub components: BTreeMap<ComponentId, Vec<u8>>,
}Expand description
An entity as a client sees it.
Fields§
§q: [i64; 3]The quantized position; deltas apply to it exactly.
components: BTreeMap<ComponentId, Vec<u8>>Implementations§
Trait Implementations§
Source§impl Clone for ReplicaEntity
impl Clone for ReplicaEntity
Source§impl Debug for ReplicaEntity
impl Debug for ReplicaEntity
Source§impl Default for ReplicaEntity
impl Default for ReplicaEntity
Source§impl PartialEq for ReplicaEntity
impl PartialEq for ReplicaEntity
impl StructuralPartialEq for ReplicaEntity
Auto Trait Implementations§
impl Freeze for ReplicaEntity
impl RefUnwindSafe for ReplicaEntity
impl Send for ReplicaEntity
impl Sync for ReplicaEntity
impl Unpin for ReplicaEntity
impl UnsafeUnpin for ReplicaEntity
impl UnwindSafe for ReplicaEntity
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