#[repr(C)]pub struct retro_frame_time_callback {
pub callback: retro_frame_time_callback_t,
pub reference: retro_usec_t,
}
Fields§
§callback: retro_frame_time_callback_t
§reference: retro_usec_t
Represents the time of one frame. It is computed as 1000000 / fps, but the implementation will resolve the rounding to ensure that framestepping, etc is exact.
Trait Implementations§
source§impl Clone for retro_frame_time_callback
impl Clone for retro_frame_time_callback
source§fn clone(&self) -> retro_frame_time_callback
fn clone(&self) -> retro_frame_time_callback
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