#[repr(C)]pub struct tm_statistics_source_api {
pub source: Option<unsafe extern "C" fn(*const i8, *const i8) -> *mut f64>,
pub push_frame: Option<unsafe extern "C" fn()>,
pub is_paused: Option<unsafe extern "C" fn() -> bool>,
pub set_paused: Option<unsafe extern "C" fn(bool)>,
pub read: Option<unsafe extern "C" fn(*const i8) -> *const tm_statistics_source_t>,
pub sources: Option<unsafe extern "C" fn(*mut u32) -> *const tm_statistics_source_t>,
pub num_frames: Option<unsafe extern "C" fn() -> u64>,
}Fields§
§source: Option<unsafe extern "C" fn(*const i8, *const i8) -> *mut f64>§push_frame: Option<unsafe extern "C" fn()>§is_paused: Option<unsafe extern "C" fn() -> bool>§set_paused: Option<unsafe extern "C" fn(bool)>§read: Option<unsafe extern "C" fn(*const i8) -> *const tm_statistics_source_t>§sources: Option<unsafe extern "C" fn(*mut u32) -> *const tm_statistics_source_t>§num_frames: Option<unsafe extern "C" fn() -> u64>Trait Implementations§
Source§impl Clone for tm_statistics_source_api
impl Clone for tm_statistics_source_api
Source§fn clone(&self) -> tm_statistics_source_api
fn clone(&self) -> tm_statistics_source_api
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 moreimpl Copy for tm_statistics_source_api
Auto Trait Implementations§
impl Freeze for tm_statistics_source_api
impl RefUnwindSafe for tm_statistics_source_api
impl Send for tm_statistics_source_api
impl Sync for tm_statistics_source_api
impl Unpin for tm_statistics_source_api
impl UnwindSafe for tm_statistics_source_api
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