#[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>Trait Implementations§
Source§impl Clone for tm_profiler_view_api
impl Clone for tm_profiler_view_api
Source§fn clone(&self) -> tm_profiler_view_api
fn clone(&self) -> tm_profiler_view_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_profiler_view_api
Auto Trait Implementations§
impl Freeze for tm_profiler_view_api
impl RefUnwindSafe for tm_profiler_view_api
impl Send for tm_profiler_view_api
impl Sync for tm_profiler_view_api
impl Unpin for tm_profiler_view_api
impl UnwindSafe for tm_profiler_view_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