#[repr(C)]pub struct tm_docking_api {Show 31 fields
pub create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>,
pub add_ui: Option<unsafe extern "C" fn(*mut tm_ui_o, tm_rect_t)>,
pub remove_ui: Option<unsafe extern "C" fn(*mut tm_ui_o)>,
pub root: Option<unsafe extern "C" fn(*mut tm_ui_o) -> *mut tm_docking_tabwell_o>,
pub split_tabwell: Option<unsafe extern "C" fn(*mut tm_docking_tabwell_o, i32, f32, *mut *mut tm_docking_tabwell_o) -> *mut tm_docking_tabwell_o>,
pub add_tab: Option<unsafe extern "C" fn(*mut tm_ui_o, *mut tm_docking_tabwell_o, *mut tm_tab_i)>,
pub remove_tab: Option<unsafe extern "C" fn(*mut tm_tab_i)>,
pub move_tab: Option<unsafe extern "C" fn(*mut tm_tab_i, *mut tm_ui_o, *mut tm_docking_tabwell_o)>,
pub clear: Option<unsafe extern "C" fn()>,
pub feed_events: Option<unsafe extern "C" fn(*const tm_input_event_t, u32, *mut tm_docking_feed_events_args_t)>,
pub ui: Option<unsafe extern "C" fn(*mut tm_ui_o, *mut tm_ui_renderer_o, tm_rect_t, u32, *const tm_font_t, f32, bool, *const tm_os_dropped_file_t, u32, *mut tm_tab_create_context_t, *mut tm_the_truth_o, tm_tt_id_t)>,
pub is_dragging_tab: Option<unsafe extern "C" fn(*mut tm_vec2_t) -> *mut tm_tab_i>,
pub should_create_new_ui_for_tab: Option<unsafe extern "C" fn(*mut tm_tab_create_context_t, *mut tm_rect_t) -> *mut tm_tab_i>,
pub focused_tabwell: Option<unsafe extern "C" fn(*mut tm_ui_o) -> *mut tm_docking_tabwell_o>,
pub focused_tab: Option<unsafe extern "C" fn(*mut tm_ui_o) -> *mut tm_tab_i>,
pub tabwell_info: Option<unsafe extern "C" fn(*mut tm_docking_tabwell_o) -> tm_docking_tabwell_info_t>,
pub tab_info: Option<unsafe extern "C" fn(*mut tm_docking_tab_info_t, u32, *mut tm_ui_o, bool) -> u32>,
pub root_history: Option<unsafe extern "C" fn(*mut tm_tab_i, *mut u32) -> *mut tm_tab_vt_root_t>,
pub clear_root_history_with_greater_counter: Option<unsafe extern "C" fn(*mut tm_tab_i, u64)>,
pub tab_ui: Option<unsafe extern "C" fn(*mut tm_tab_i) -> *mut tm_ui_o>,
pub can_remove_ui: Option<unsafe extern "C" fn(*mut tm_ui_o) -> bool>,
pub set_focus_tab: Option<unsafe extern "C" fn(*mut tm_ui_o, *mut tm_tab_i)>,
pub close_focused_tab: Option<unsafe extern "C" fn(*mut tm_ui_o) -> bool>,
pub close_all_tabs: Option<unsafe extern "C" fn(*mut tm_ui_o)>,
pub send_focus_event: Option<unsafe extern "C" fn(*mut tm_tab_i, i32, *mut tm_the_truth_o, tm_tt_id_t, *const tm_tt_id_t, u32)>,
pub destroy_truth: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>,
pub find_tab: Option<unsafe extern "C" fn(u64, *const tm_docking_find_tab_opt_t) -> tm_docking_find_tab_t>,
pub find_tabs: Option<unsafe extern "C" fn(u64, *mut tm_temp_allocator_i) -> *mut tm_docking_find_tab_t>,
pub pin_type: Option<unsafe extern "C" fn(*mut tm_tab_i) -> u32>,
pub pin_object: Option<unsafe extern "C" fn(*mut tm_tab_i, *mut tm_the_truth_o, tm_tt_id_t)>,
pub draw_toolbars: Option<unsafe extern "C" fn(*mut tm_tab_i, *mut tm_ui_o, tm_rect_t, u32, *const tm_font_t, f32, *mut tm_the_truth_o, tm_tt_id_t) -> tm_rect_t>,
}Fields§
§create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>§add_ui: Option<unsafe extern "C" fn(*mut tm_ui_o, tm_rect_t)>§remove_ui: Option<unsafe extern "C" fn(*mut tm_ui_o)>§root: Option<unsafe extern "C" fn(*mut tm_ui_o) -> *mut tm_docking_tabwell_o>§split_tabwell: Option<unsafe extern "C" fn(*mut tm_docking_tabwell_o, i32, f32, *mut *mut tm_docking_tabwell_o) -> *mut tm_docking_tabwell_o>§add_tab: Option<unsafe extern "C" fn(*mut tm_ui_o, *mut tm_docking_tabwell_o, *mut tm_tab_i)>§remove_tab: Option<unsafe extern "C" fn(*mut tm_tab_i)>§move_tab: Option<unsafe extern "C" fn(*mut tm_tab_i, *mut tm_ui_o, *mut tm_docking_tabwell_o)>§clear: Option<unsafe extern "C" fn()>§feed_events: Option<unsafe extern "C" fn(*const tm_input_event_t, u32, *mut tm_docking_feed_events_args_t)>§ui: Option<unsafe extern "C" fn(*mut tm_ui_o, *mut tm_ui_renderer_o, tm_rect_t, u32, *const tm_font_t, f32, bool, *const tm_os_dropped_file_t, u32, *mut tm_tab_create_context_t, *mut tm_the_truth_o, tm_tt_id_t)>§is_dragging_tab: Option<unsafe extern "C" fn(*mut tm_vec2_t) -> *mut tm_tab_i>§should_create_new_ui_for_tab: Option<unsafe extern "C" fn(*mut tm_tab_create_context_t, *mut tm_rect_t) -> *mut tm_tab_i>§focused_tabwell: Option<unsafe extern "C" fn(*mut tm_ui_o) -> *mut tm_docking_tabwell_o>§focused_tab: Option<unsafe extern "C" fn(*mut tm_ui_o) -> *mut tm_tab_i>§tabwell_info: Option<unsafe extern "C" fn(*mut tm_docking_tabwell_o) -> tm_docking_tabwell_info_t>§tab_info: Option<unsafe extern "C" fn(*mut tm_docking_tab_info_t, u32, *mut tm_ui_o, bool) -> u32>§root_history: Option<unsafe extern "C" fn(*mut tm_tab_i, *mut u32) -> *mut tm_tab_vt_root_t>§clear_root_history_with_greater_counter: Option<unsafe extern "C" fn(*mut tm_tab_i, u64)>§tab_ui: Option<unsafe extern "C" fn(*mut tm_tab_i) -> *mut tm_ui_o>§can_remove_ui: Option<unsafe extern "C" fn(*mut tm_ui_o) -> bool>§set_focus_tab: Option<unsafe extern "C" fn(*mut tm_ui_o, *mut tm_tab_i)>§close_focused_tab: Option<unsafe extern "C" fn(*mut tm_ui_o) -> bool>§close_all_tabs: Option<unsafe extern "C" fn(*mut tm_ui_o)>§send_focus_event: Option<unsafe extern "C" fn(*mut tm_tab_i, i32, *mut tm_the_truth_o, tm_tt_id_t, *const tm_tt_id_t, u32)>§destroy_truth: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>§find_tab: Option<unsafe extern "C" fn(u64, *const tm_docking_find_tab_opt_t) -> tm_docking_find_tab_t>§find_tabs: Option<unsafe extern "C" fn(u64, *mut tm_temp_allocator_i) -> *mut tm_docking_find_tab_t>§pin_type: Option<unsafe extern "C" fn(*mut tm_tab_i) -> u32>§pin_object: Option<unsafe extern "C" fn(*mut tm_tab_i, *mut tm_the_truth_o, tm_tt_id_t)>§draw_toolbars: Option<unsafe extern "C" fn(*mut tm_tab_i, *mut tm_ui_o, tm_rect_t, u32, *const tm_font_t, f32, *mut tm_the_truth_o, tm_tt_id_t) -> tm_rect_t>Trait Implementations§
Source§impl Clone for tm_docking_api
impl Clone for tm_docking_api
Source§fn clone(&self) -> tm_docking_api
fn clone(&self) -> tm_docking_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_docking_api
Auto Trait Implementations§
impl Freeze for tm_docking_api
impl RefUnwindSafe for tm_docking_api
impl Send for tm_docking_api
impl Sync for tm_docking_api
impl Unpin for tm_docking_api
impl UnwindSafe for tm_docking_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