pub struct TickEvent {
pub tick_count: u64,
pub timestamp: Instant,
}
Expand description
A raw tick event generated by the SystemClock
.
This is the most primitive time event in the engine. The HyperclockEngine
consumes these events to drive its phase sequence.
Fields§
§tick_count: u64
The number of ticks that have elapsed since the clock started.
timestamp: Instant
The precise moment the tick was generated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TickEvent
impl RefUnwindSafe for TickEvent
impl Send for TickEvent
impl Sync for TickEvent
impl Unpin 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