[][src]Struct tm_sys::ffi::tm_ui_api

#[repr(C)]pub struct tm_ui_api {
    pub create: Option<unsafe extern "C" fn(a: *mut tm_allocator_i) -> *mut tm_ui_o>,
    pub destroy: Option<unsafe extern "C" fn(i: *mut tm_ui_o)>,
    pub clear: Option<unsafe extern "C" fn(ui: *mut tm_ui_o)>,
    pub release_held_state: Option<unsafe extern "C" fn(ui: *mut tm_ui_o)>,
    pub set_window_status: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, rect: tm_rect_t, has_focus: bool, is_under_cursor: bool)>,
    pub window_rect: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_rect_t>,
    pub set_feather_width: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, feather_width: f32)>,
    pub feather_width: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> f32>,
    pub feed_events: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, events: *const tm_input_event_t, count: u32, offset: tm_vec2_t, scale: tm_vec2_t)>,
    pub feed_external_edit_key: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, key: u32)>,
    pub merge_overlay: Option<unsafe extern "C" fn(ui: *mut tm_ui_o)>,
    pub begin_overlay_draw_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>,
    pub end_overlay_draw_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>,
    pub drawing_in_overlay: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> bool>,
    pub cursor: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_ui_cursor>,
    pub window: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_window_t, rect: *mut tm_rect_t, content_rect: *mut tm_rect_t) -> tm_ui_window_event>,
    pub pane: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, rect: tm_rect_t)>,
    pub scrollbar_x: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_scrollbar_t, scroll: *mut f32) -> bool>,
    pub scrollbar_y: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_scrollbar_t, scroll: *mut f32) -> bool>,
    pub begin_scrollview: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_scrollview_t, scroll_x: *mut f32, scroll_y: *mut f32, content_rect: *mut tm_rect_t) -> bool>,
    pub end_scrollview: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, scroll_x: *mut f32, scroll_y: *mut f32) -> bool>,
    pub label: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_label_t) -> tm_rect_t>,
    pub text: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_text_t) -> tm_rect_t>,
    pub text_metrics: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, text: *const c_char) -> tm_rect_t>,
    pub wrapped_text: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_text_t) -> tm_rect_t>,
    pub link: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_link_t) -> bool>,
    pub tooltip: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, text: *const c_char)>,
    pub button: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_button_t) -> bool>,
    pub pushbutton: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_button_t, pressed: *mut bool) -> bool>,
    pub checkbox: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_checkbox_t, checked: *mut bool) -> bool>,
    pub radio: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_radio_t, checked: bool) -> bool>,
    pub progress: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_progress_t, fraction: f32)>,
    pub slider: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_slider_t, val: *mut f32, initial: *mut f32) -> tm_ui_interaction_result_t>,
    pub spinner: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_spinner_t, val: *mut f64, initial: *mut f64) -> tm_ui_interaction_result_t>,
    pub dropdown: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_dropdown_t, selected: *mut u32) -> bool>,
    pub textedit: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_textedit_t, s: *mut c_char, maxlen: u32) -> bool>,
    pub menubar: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_menubar_t) -> tm_ui_menu_result_t>,
    pub menu: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_menu_t) -> tm_ui_menu_result_t>,
    pub sort_menu_items: Option<unsafe extern "C" fn(items: *mut tm_ui_menu_item_t, count: u32)>,
    pub tabbar: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_tabbar_t, selected: *mut u32) -> tm_ui_tabbar_result_t>,
    pub draggedtab: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_draggedtab_t)>,
    pub splitter_x: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_splitter_t, bias: *mut f32, content_left: *mut tm_rect_t, content_right: *mut tm_rect_t) -> bool>,
    pub splitter_x_rects: Option<unsafe extern "C" fn(c: *const tm_ui_splitter_t, bias: f32, content_left: *mut tm_rect_t, content_right: *mut tm_rect_t)>,
    pub splitter_y: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_splitter_t, bias: *mut f32, content_top: *mut tm_rect_t, content_bottom: *mut tm_rect_t) -> bool>,
    pub splitter_y_rects: Option<unsafe extern "C" fn(c: *const tm_ui_splitter_t, bias: f32, content_top: *mut tm_rect_t, content_bottom: *mut tm_rect_t)>,
    pub titlebar: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_titlebar_t) -> tm_ui_titlebar_result_t>,
    pub grow_buffer: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, b: tm_ui_buffer, vbytes: u32, ibytes: u32)>,
    pub buffers: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_ui_buffers_t>,
    pub make_id: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> u64>,
    pub last_id: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> u64>,
    pub create_fixed_id_range: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, size: u64) -> u64>,
    pub set_id: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> u64>,
    pub set_cursor: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, cursor: tm_ui_cursor)>,
    pub is_hovering: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, r: tm_rect_t, clip: u32) -> bool>,
    pub set_responder_chain_root: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>,
    pub begin_responder_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>,
    pub end_responder_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>,
    pub in_responder_chain: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> bool>,
    pub is_first_responder: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> bool>,
    pub set_responder_chain: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>,
    pub responder_chain: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, count: *mut u32) -> *mut u64>,
    pub is_responder_chain_empty: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> bool>,
    pub focus_on_mouse_press: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, r: tm_rect_t, id: u64) -> bool>,
    pub consume_key: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, keyboard_item: u32)>,
    pub begin_tab_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> bool>,
    pub end_tab_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o)>,
    pub focus_on_tab: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> bool>,
    pub set_tab_focus_disabled: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, tab_focus_disabled: bool)>,
    pub set_active: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>,
    pub to_draw_style: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *mut tm_draw2d_style_t, uistyle: *const tm_ui_style_t) -> *mut tm_draw2d_style_t>,
    pub set_cache: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, key: u64, carray: *mut c_char)>,
    pub lookup_cache: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, key: u64) -> *mut c_char>,
    pub left_mouse_pressed: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>,
    pub middle_mouse_pressed: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>,
    pub right_mouse_pressed: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>,
    pub double_click: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>,
    pub triple_click: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>,
    pub get_mouse_help_texts: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_ui_mouse_help_texts_t>,
    pub theme: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_ui_theme_t>,
    pub set_theme: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, theme: tm_ui_theme_t)>,
    pub create_custom_theme: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, tt: *mut tm_the_truth_o) -> tm_ui_theme_t>,
    pub set_parent_ui: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, parent_ui: *mut tm_ui_o)>,
    pub fork: Option<unsafe extern "C" fn(main: *mut tm_ui_o) -> *mut tm_ui_o>,
    pub join: Option<unsafe extern "C" fn(main: *mut tm_ui_o, fork: *mut tm_ui_o)>,
    pub main_ui: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> *mut tm_ui_o>,
}

Fields

create: Option<unsafe extern "C" fn(a: *mut tm_allocator_i) -> *mut tm_ui_o>destroy: Option<unsafe extern "C" fn(i: *mut tm_ui_o)>clear: Option<unsafe extern "C" fn(ui: *mut tm_ui_o)>release_held_state: Option<unsafe extern "C" fn(ui: *mut tm_ui_o)>set_window_status: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, rect: tm_rect_t, has_focus: bool, is_under_cursor: bool)>window_rect: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_rect_t>set_feather_width: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, feather_width: f32)>feather_width: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> f32>feed_events: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, events: *const tm_input_event_t, count: u32, offset: tm_vec2_t, scale: tm_vec2_t)>feed_external_edit_key: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, key: u32)>merge_overlay: Option<unsafe extern "C" fn(ui: *mut tm_ui_o)>begin_overlay_draw_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>end_overlay_draw_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>drawing_in_overlay: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> bool>cursor: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_ui_cursor>window: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_window_t, rect: *mut tm_rect_t, content_rect: *mut tm_rect_t) -> tm_ui_window_event>pane: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, rect: tm_rect_t)>scrollbar_x: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_scrollbar_t, scroll: *mut f32) -> bool>scrollbar_y: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_scrollbar_t, scroll: *mut f32) -> bool>begin_scrollview: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_scrollview_t, scroll_x: *mut f32, scroll_y: *mut f32, content_rect: *mut tm_rect_t) -> bool>end_scrollview: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, scroll_x: *mut f32, scroll_y: *mut f32) -> bool>label: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_label_t) -> tm_rect_t>text: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_text_t) -> tm_rect_t>text_metrics: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, text: *const c_char) -> tm_rect_t>wrapped_text: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_text_t) -> tm_rect_t>link: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_link_t) -> bool>tooltip: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, text: *const c_char)>button: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_button_t) -> bool>pushbutton: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_button_t, pressed: *mut bool) -> bool>checkbox: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_checkbox_t, checked: *mut bool) -> bool>radio: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_radio_t, checked: bool) -> bool>progress: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_progress_t, fraction: f32)>slider: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_slider_t, val: *mut f32, initial: *mut f32) -> tm_ui_interaction_result_t>spinner: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_spinner_t, val: *mut f64, initial: *mut f64) -> tm_ui_interaction_result_t>dropdown: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_dropdown_t, selected: *mut u32) -> bool>textedit: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_textedit_t, s: *mut c_char, maxlen: u32) -> bool>menubar: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_menubar_t) -> tm_ui_menu_result_t>menu: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_menu_t) -> tm_ui_menu_result_t>sort_menu_items: Option<unsafe extern "C" fn(items: *mut tm_ui_menu_item_t, count: u32)>tabbar: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_tabbar_t, selected: *mut u32) -> tm_ui_tabbar_result_t>draggedtab: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *const tm_ui_style_t, c: *const tm_ui_draggedtab_t)>splitter_x: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_splitter_t, bias: *mut f32, content_left: *mut tm_rect_t, content_right: *mut tm_rect_t) -> bool>splitter_x_rects: Option<unsafe extern "C" fn(c: *const tm_ui_splitter_t, bias: f32, content_left: *mut tm_rect_t, content_right: *mut tm_rect_t)>splitter_y: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_splitter_t, bias: *mut f32, content_top: *mut tm_rect_t, content_bottom: *mut tm_rect_t) -> bool>splitter_y_rects: Option<unsafe extern "C" fn(c: *const tm_ui_splitter_t, bias: f32, content_top: *mut tm_rect_t, content_bottom: *mut tm_rect_t)>titlebar: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, uistyle: *const tm_ui_style_t, c: *const tm_ui_titlebar_t) -> tm_ui_titlebar_result_t>grow_buffer: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, b: tm_ui_buffer, vbytes: u32, ibytes: u32)>buffers: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_ui_buffers_t>make_id: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> u64>last_id: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> u64>create_fixed_id_range: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, size: u64) -> u64>set_id: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> u64>set_cursor: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, cursor: tm_ui_cursor)>is_hovering: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, r: tm_rect_t, clip: u32) -> bool>set_responder_chain_root: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>begin_responder_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>end_responder_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>in_responder_chain: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> bool>is_first_responder: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> bool>set_responder_chain: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>responder_chain: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, count: *mut u32) -> *mut u64>is_responder_chain_empty: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> bool>focus_on_mouse_press: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, r: tm_rect_t, id: u64) -> bool>consume_key: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, keyboard_item: u32)>begin_tab_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> bool>end_tab_scope: Option<unsafe extern "C" fn(ui: *mut tm_ui_o)>focus_on_tab: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64) -> bool>set_tab_focus_disabled: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, tab_focus_disabled: bool)>set_active: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, id: u64)>to_draw_style: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, style: *mut tm_draw2d_style_t, uistyle: *const tm_ui_style_t) -> *mut tm_draw2d_style_t>set_cache: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, key: u64, carray: *mut c_char)>lookup_cache: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, key: u64) -> *mut c_char>left_mouse_pressed: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>middle_mouse_pressed: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>right_mouse_pressed: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>double_click: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>triple_click: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, help_text: *const c_char) -> bool>get_mouse_help_texts: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_ui_mouse_help_texts_t>theme: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> tm_ui_theme_t>set_theme: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, theme: tm_ui_theme_t)>create_custom_theme: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, tt: *mut tm_the_truth_o) -> tm_ui_theme_t>set_parent_ui: Option<unsafe extern "C" fn(ui: *mut tm_ui_o, parent_ui: *mut tm_ui_o)>fork: Option<unsafe extern "C" fn(main: *mut tm_ui_o) -> *mut tm_ui_o>join: Option<unsafe extern "C" fn(main: *mut tm_ui_o, fork: *mut tm_ui_o)>main_ui: Option<unsafe extern "C" fn(ui: *mut tm_ui_o) -> *mut tm_ui_o>

Trait Implementations

impl Clone for tm_ui_api[src]

impl Copy for tm_ui_api[src]

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