[][src]Struct tm_sys::ffi::tm_statistics_source_api

#[repr(C)]pub struct tm_statistics_source_api {
    pub source: Option<unsafe extern "C" fn(name: *const c_char, default_title: *const c_char) -> *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(paused: bool)>,
    pub read: Option<unsafe extern "C" fn(source: *const c_char) -> *const tm_statistics_source_t>,
    pub sources: Option<unsafe extern "C" fn(count: *mut u32) -> *const tm_statistics_source_t>,
    pub num_frames: Option<unsafe extern "C" fn() -> u64>,
}

Fields

source: Option<unsafe extern "C" fn(name: *const c_char, default_title: *const c_char) -> *mut f64>push_frame: Option<unsafe extern "C" fn()>is_paused: Option<unsafe extern "C" fn() -> bool>set_paused: Option<unsafe extern "C" fn(paused: bool)>read: Option<unsafe extern "C" fn(source: *const c_char) -> *const tm_statistics_source_t>sources: Option<unsafe extern "C" fn(count: *mut u32) -> *const tm_statistics_source_t>num_frames: Option<unsafe extern "C" fn() -> u64>

Trait Implementations

impl Clone for tm_statistics_source_api[src]

impl Copy for tm_statistics_source_api[src]

impl Debug for tm_statistics_source_api[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.