pub struct Timing {
    pub delta: f64,
    pub started_at: Instant,
    pub now: Instant,
    pub last: Instant,
    pub updates: usize,
    pub renders: usize,
    pub fixed_time_step: f64,
    pub fixed_time_step_f32: f32,
    pub stats: Stats,
    /* private fields */
}

Fields§

§delta: f64

time factor for lerp, etc

§started_at: Instant

when execution started

§now: Instant

time at start of frame

§last: Instant

time at start of last frame

§updates: usize

number of updates so far

§renders: usize

number of renders so far

§fixed_time_step: f64§fixed_time_step_f32: f32§stats: Stats

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.