[][src]Struct tm_rs::ffi::tm_tab_vt

#[repr(C)]pub struct tm_tab_vt {
    pub name: *const i8,
    pub name_hash: u64,
    pub create_menu_name: Option<unsafe extern "C" fn() -> *const i8>,
    pub create: Option<unsafe extern "C" fn(*mut tm_tab_create_context_t) -> *mut tm_tab_i>,
    pub destroy: Option<unsafe extern "C" fn(*mut tm_tab_o)>,
    pub ui: Option<unsafe extern "C" fn(*mut tm_tab_o, u32, *const tm_font_t, f32, *mut tm_ui_o, tm_rect_t)>,
    pub hidden_update: Option<unsafe extern "C" fn(*mut tm_tab_o)>,
    pub title: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut tm_ui_o) -> *const i8>,
    pub set_root: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut tm_the_truth_o, tm_tt_id_t)>,
    pub root: Option<unsafe extern "C" fn(*mut tm_tab_o) -> tm_tab_vt_root_t>,
    pub can_close: Option<unsafe extern "C" fn(*mut tm_tab_o) -> bool>,
    pub focus_event: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut tm_tab_i, i32, *mut tm_the_truth_o, tm_tt_id_t, *const tm_tt_id_t, u32)>,
    pub feed_events: Option<unsafe extern "C" fn(*mut tm_tab_o, *const tm_input_event_t, u32, *mut tm_docking_feed_events_args_t)>,
    pub process_dropped_os_files: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut tm_ui_o, *mut *mut i8, u32)>,
    pub toolbars: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut u32) -> *mut tm_tab_toolbar_i>,
    pub cant_be_pinned: bool,
    pub run_as_job: bool,
    pub _padding_222: [i8; 6],
}

Fields

name: *const i8name_hash: u64create_menu_name: Option<unsafe extern "C" fn() -> *const i8>create: Option<unsafe extern "C" fn(*mut tm_tab_create_context_t) -> *mut tm_tab_i>destroy: Option<unsafe extern "C" fn(*mut tm_tab_o)>ui: Option<unsafe extern "C" fn(*mut tm_tab_o, u32, *const tm_font_t, f32, *mut tm_ui_o, tm_rect_t)>hidden_update: Option<unsafe extern "C" fn(*mut tm_tab_o)>title: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut tm_ui_o) -> *const i8>set_root: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut tm_the_truth_o, tm_tt_id_t)>root: Option<unsafe extern "C" fn(*mut tm_tab_o) -> tm_tab_vt_root_t>can_close: Option<unsafe extern "C" fn(*mut tm_tab_o) -> bool>focus_event: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut tm_tab_i, i32, *mut tm_the_truth_o, tm_tt_id_t, *const tm_tt_id_t, u32)>feed_events: Option<unsafe extern "C" fn(*mut tm_tab_o, *const tm_input_event_t, u32, *mut tm_docking_feed_events_args_t)>process_dropped_os_files: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut tm_ui_o, *mut *mut i8, u32)>toolbars: Option<unsafe extern "C" fn(*mut tm_tab_o, *mut u32) -> *mut tm_tab_toolbar_i>cant_be_pinned: boolrun_as_job: bool_padding_222: [i8; 6]

Trait Implementations

impl Clone for tm_tab_vt[src]

impl Copy for tm_tab_vt[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[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.