pub struct Snapshot {
pub session: u64,
pub tick: u32,
pub ack_sequence: u32,
pub ack_valid: bool,
pub players: Vec<PlayerSnapshot>,
}Fields§
§session: u64Session cookie prevents delayed packets from a prior connection being accepted.
tick: u32§ack_sequence: u32§ack_valid: bool§players: Vec<PlayerSnapshot>Trait Implementations§
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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