Struct rust_libretro_sys::retro_throttle_state
source · [−]Fields
mode: c_uintThe current throttling mode. Should be one of the values above.
rate: f32How 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
sourceimpl Clone for retro_throttle_state
impl Clone for retro_throttle_state
sourcefn clone(&self) -> retro_throttle_state
fn clone(&self) -> retro_throttle_state
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for retro_throttle_state
impl Debug for retro_throttle_state
impl Copy for retro_throttle_state
Auto Trait Implementations
impl RefUnwindSafe for retro_throttle_state
impl Send for retro_throttle_state
impl Sync for retro_throttle_state
impl Unpin for retro_throttle_state
impl UnwindSafe for retro_throttle_state
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
