#[repr(C)]pub struct RawFrameTimeCallback {
pub callback: Option<unsafe extern "C" fn(usec: i64)>,
pub reference: i64,
}Fields§
§callback: Option<unsafe extern "C" fn(usec: i64)>§reference: i64Trait 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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for retro_frame_time_callback
impl Debug for retro_frame_time_callback
Source§impl Default for retro_frame_time_callback
impl Default for retro_frame_time_callback
Source§fn default() -> retro_frame_time_callback
fn default() -> retro_frame_time_callback
Returns the “default value” for a type. Read more
impl Copy for retro_frame_time_callback
Auto Trait Implementations§
impl Freeze for retro_frame_time_callback
impl RefUnwindSafe for retro_frame_time_callback
impl Send for retro_frame_time_callback
impl Sync for retro_frame_time_callback
impl Unpin for retro_frame_time_callback
impl UnsafeUnpin for retro_frame_time_callback
impl UnwindSafe for retro_frame_time_callback
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more