#[repr(C)]pub struct tm_tab_vt {Show 18 fields
pub name: *const c_char,
pub name_hash: u64,
pub create_menu_name: Option<unsafe extern "C" fn() -> *const c_char>,
pub create: Option<unsafe extern "C" fn(context: *mut tm_tab_create_context_t) -> *mut tm_tab_i>,
pub destroy: Option<unsafe extern "C" fn(inst: *mut tm_tab_o)>,
pub ui: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, font: u32, font_info: *const tm_font_t, font_scale: f32, ui: *mut tm_ui_o, rect: tm_rect_t)>,
pub hidden_update: Option<unsafe extern "C" fn(inst: *mut tm_tab_o)>,
pub title: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, ui: *mut tm_ui_o) -> *const c_char>,
pub set_root: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, tt: *mut tm_the_truth_o, root: tm_tt_id_t)>,
pub root: Option<unsafe extern "C" fn(inst: *mut tm_tab_o) -> tm_tab_vt_root_t>,
pub can_close: Option<unsafe extern "C" fn(inst: *mut tm_tab_o) -> bool>,
pub focus_event: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, from: *mut tm_tab_i, event: tm_tab_focus_event, tt: *mut tm_the_truth_o, object: tm_tt_id_t, selection: *const tm_tt_id_t, selection_n: u32)>,
pub feed_events: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, events: *const tm_input_event_t, count: u32, args: *mut tm_docking_feed_events_args_t)>,
pub process_dropped_os_files: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, ui: *mut tm_ui_o, files: *mut *mut c_char, num_files: u32)>,
pub toolbars: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, n: *mut u32) -> *mut tm_tab_toolbar_i>,
pub cant_be_pinned: bool,
pub run_as_job: bool,
pub _padding_222: [c_char; 6],
}Fields§
§name: *const c_char§name_hash: u64§create: Option<unsafe extern "C" fn(context: *mut tm_tab_create_context_t) -> *mut tm_tab_i>§destroy: Option<unsafe extern "C" fn(inst: *mut tm_tab_o)>§ui: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, font: u32, font_info: *const tm_font_t, font_scale: f32, ui: *mut tm_ui_o, rect: tm_rect_t)>§title: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, ui: *mut tm_ui_o) -> *const c_char>§set_root: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, tt: *mut tm_the_truth_o, root: tm_tt_id_t)>§root: Option<unsafe extern "C" fn(inst: *mut tm_tab_o) -> tm_tab_vt_root_t>§can_close: Option<unsafe extern "C" fn(inst: *mut tm_tab_o) -> bool>§focus_event: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, from: *mut tm_tab_i, event: tm_tab_focus_event, tt: *mut tm_the_truth_o, object: tm_tt_id_t, selection: *const tm_tt_id_t, selection_n: u32)>§feed_events: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, events: *const tm_input_event_t, count: u32, args: *mut tm_docking_feed_events_args_t)>§process_dropped_os_files: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, ui: *mut tm_ui_o, files: *mut *mut c_char, num_files: u32)>§toolbars: Option<unsafe extern "C" fn(inst: *mut tm_tab_o, n: *mut u32) -> *mut tm_tab_toolbar_i>§cant_be_pinned: bool§run_as_job: bool§_padding_222: [c_char; 6]Trait Implementations§
Auto Trait Implementations§
impl Freeze for tm_tab_vt
impl RefUnwindSafe for tm_tab_vt
impl !Send for tm_tab_vt
impl !Sync for tm_tab_vt
impl Unpin for tm_tab_vt
impl UnwindSafe for tm_tab_vt
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