[][src]Struct tm_sys::ffi::tm_profiler_view_api

#[repr(C)]pub struct tm_profiler_view_api {
    pub create_profiler_view: Option<unsafe extern "C" fn(allocator: *mut tm_allocator_i) -> *mut tm_profiler_view_o>,
    pub destroy_profiler_view: Option<unsafe extern "C" fn(profiler_view: *mut tm_profiler_view_o)>,
    pub ui: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o, ui: *mut tm_ui_o, style: *const tm_ui_style_t, rect: tm_rect_t, tab_id: u64)>,
    pub start_recording: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o, with_history: bool)>,
    pub stop_recording: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o)>,
    pub is_recording: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o) -> bool>,
    pub menu: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o, ui: *mut tm_ui_o, style: *const tm_ui_style_t, pos: tm_vec2_t)>,
}

Fields

create_profiler_view: Option<unsafe extern "C" fn(allocator: *mut tm_allocator_i) -> *mut tm_profiler_view_o>destroy_profiler_view: Option<unsafe extern "C" fn(profiler_view: *mut tm_profiler_view_o)>ui: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o, ui: *mut tm_ui_o, style: *const tm_ui_style_t, rect: tm_rect_t, tab_id: u64)>start_recording: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o, with_history: bool)>stop_recording: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o)>is_recording: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o) -> bool>menu: Option<unsafe extern "C" fn(inst: *mut tm_profiler_view_o, ui: *mut tm_ui_o, style: *const tm_ui_style_t, pos: tm_vec2_t)>

Trait Implementations

impl Clone for tm_profiler_view_api[src]

impl Copy for tm_profiler_view_api[src]

impl Debug for tm_profiler_view_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.