Struct gameloop_timing::tickloop::TickLoopEvent [−][src]
pub struct TickLoopEvent {
pub target_tickrate: u32,
pub time: Instant,
pub duration: Duration,
pub ticks: u64,
}Expand description
Event that is spawned when a tick occurs.
Fields
target_tickrate: u32The targeted tick-rate.
time: InstantThe current point in time.
duration: DurationThe intended tick Duration.
ticks: u64The total number of ticks the gameloop went trough.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TickLoopEventimpl Send for TickLoopEventimpl Sync for TickLoopEventimpl Unpin for TickLoopEventimpl UnwindSafe for TickLoopEvent