pub trait CotisFrameContext {
// Required method
fn get_delta_time(&self) -> f32;
}Expand description
Provides frame timing data.
Required Methods§
Sourcefn get_delta_time(&self) -> f32
fn get_delta_time(&self) -> f32
Returns delta time in seconds since the previous frame.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".