#[repr(C)]pub struct retro_perf_callback {
pub get_time_usec: retro_perf_get_time_usec_t,
pub get_cpu_features: retro_get_cpu_features_t,
pub get_perf_counter: retro_perf_get_counter_t,
pub perf_register: retro_perf_register_t,
pub perf_start: retro_perf_start_t,
pub perf_stop: retro_perf_stop_t,
pub perf_log: retro_perf_log_t,
}
Fields§
§get_time_usec: retro_perf_get_time_usec_t
§get_cpu_features: retro_get_cpu_features_t
§get_perf_counter: retro_perf_get_counter_t
§perf_register: retro_perf_register_t
§perf_start: retro_perf_start_t
§perf_stop: retro_perf_stop_t
§perf_log: retro_perf_log_t
Trait Implementations§
Source§impl Clone for retro_perf_callback
impl Clone for retro_perf_callback
Source§fn clone(&self) -> retro_perf_callback
fn clone(&self) -> retro_perf_callback
Returns a duplicate 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 moreSource§impl Debug for retro_perf_callback
impl Debug for retro_perf_callback
impl Copy for retro_perf_callback
Auto Trait Implementations§
impl Freeze for retro_perf_callback
impl RefUnwindSafe for retro_perf_callback
impl Send for retro_perf_callback
impl Sync for retro_perf_callback
impl Unpin for retro_perf_callback
impl UnwindSafe for retro_perf_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