pub struct Packet {
pub clock_secs: f32,
pub payload: Payload,
}Expand description
«Packet» is a single traffic message in a replay, packets tell us what is going on during the battle.
Fields§
§clock_secs: f32Replay time, starting from zero.
payload: PayloadParsed packet payload.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Packet
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
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