pub struct TickEvent {
pub instant: Instant,
pub seq: u64,
pub payload: Option<Value>,
}Expand description
A tick event — a timestamped signal from the host’s tick loop.
Fields§
§instant: InstantWhen the tick was generated (Instant from the host clock).
seq: u64The tick sequence number (monotonically increasing).
payload: Option<Value>Optional payload (e.g. dt for animation, sensor reading).
Trait Implementations§
impl StructuralPartialEq for TickEvent
Auto Trait Implementations§
impl Freeze for TickEvent
impl RefUnwindSafe for TickEvent
impl Send for TickEvent
impl Sync for TickEvent
impl Unpin for TickEvent
impl UnsafeUnpin for TickEvent
impl UnwindSafe for TickEvent
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