pub struct GameLoop<G, T: TimeTrait, W> {
pub game: G,
pub updates_per_second: u32,
pub max_frame_time: f64,
pub exit_next_iteration: bool,
pub window: W,
// some fields omitted
}
pub fn new(
game: G,
updates_per_second: u32,
max_frame_time: f64,
window: W
) -> Selfimpl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.