pub struct ReplicationFrame {
pub client_id: ClientId,
pub server_tick: Tick,
pub entity_count: u32,
pub estimated_payload_bytes: u32,
pub entities: Vec<EntityDelta>,
}Expand description
Replication frame metadata produced per client.
Fields§
§client_id: ClientIdTarget client.
server_tick: TickServer tick represented by this frame.
entity_count: u32Number of entity updates in this frame.
estimated_payload_bytes: u32Estimated payload bytes before transport overhead.
entities: Vec<EntityDelta>Concrete entity/component deltas included in this frame.
Trait Implementations§
Source§impl Clone for ReplicationFrame
impl Clone for ReplicationFrame
Source§fn clone(&self) -> ReplicationFrame
fn clone(&self) -> ReplicationFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReplicationFrame
impl Debug for ReplicationFrame
impl Eq for ReplicationFrame
Source§impl PartialEq for ReplicationFrame
impl PartialEq for ReplicationFrame
impl StructuralPartialEq for ReplicationFrame
Auto Trait Implementations§
impl Freeze for ReplicationFrame
impl RefUnwindSafe for ReplicationFrame
impl Send for ReplicationFrame
impl Sync for ReplicationFrame
impl Unpin for ReplicationFrame
impl UnsafeUnpin for ReplicationFrame
impl UnwindSafe for ReplicationFrame
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