Struct rust_libretro_sys::retro_throttle_state
source · Fields§
§mode: c_uint
The current throttling mode. Should be one of the values above.
rate: f32
How many times per second the frontend aims to call retro_run. Depending on the mode, it can be 0 if there is no known fixed rate. This won’t be accurate if the total processing time of the core and the frontend is longer than what is available for one frame.
Trait Implementations§
source§impl Clone for retro_throttle_state
impl Clone for retro_throttle_state
source§fn clone(&self) -> retro_throttle_state
fn clone(&self) -> retro_throttle_state
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more