pub fn fps(&self) -> f64 {
        let duration_per_frame = self.average_delta();
        let seconds_per_frame = duration_to_f64(duration_per_frame);
        1.0 / seconds_per_frame
    }
/// Gets the FPS of the game, averaged over the last
/// 200 frames.
Gets the FPS of the game, averaged over the last
200 frames.
Gets the FPS of the game averaged over the last 200 frames .
pub fn fps(&self) -> f64 {
        let duration_per_frame = self.average_delta();
        let seconds_per_frame = duration_to_f64(duration_per_frame);
        1.0 / seconds_per_frame
    }
pub fn fps ( & self ) -> f64 { let duration_per_frame = self . average_delta ( ) ; let seconds_per_frame = duration_to_f64 ( duration_per_frame ) ; 1.0 / seconds_per_frame }
Gets the FPS of the game, averaged over the last
200 frames.
Gets the FPS of the game averaged over the last 200 frames .
&self
&self