pub struct EventPacket { /* private fields */ }
Expand description
Packet containing details about an event that occurred in the session
The modern F1 games send event packets with details about events that occur in a session. The frequency with which these packets are sent is not fixed, but rather packets are sent whenever events occur.
Implementations§
Source§impl EventPacket
impl EventPacket
Trait Implementations§
Source§impl Clone for EventPacket
impl Clone for EventPacket
Source§fn clone(&self) -> EventPacket
fn clone(&self) -> EventPacket
Returns a duplicate 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 EventPacket
impl Debug for EventPacket
Source§impl Display for EventPacket
impl Display for EventPacket
Source§impl Hash for EventPacket
impl Hash for EventPacket
Source§impl Ord for EventPacket
impl Ord for EventPacket
Source§fn cmp(&self, other: &EventPacket) -> Ordering
fn cmp(&self, other: &EventPacket) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EventPacket
impl PartialEq for EventPacket
Source§impl PartialOrd for EventPacket
impl PartialOrd for EventPacket
impl Copy for EventPacket
impl Eq for EventPacket
impl StructuralPartialEq for EventPacket
Auto Trait Implementations§
impl Freeze for EventPacket
impl RefUnwindSafe for EventPacket
impl Send for EventPacket
impl Sync for EventPacket
impl Unpin for EventPacket
impl UnwindSafe for EventPacket
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