[][src]Struct tm_rs::ffi::tm_tree_view_aspect_i

#[repr(C)]pub struct tm_tree_view_aspect_i {
    pub setup: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *const tm_the_truth_o, tm_tt_id_t)>,
    pub context_menu: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_undo_stack_i, *mut tm_ui_o, *const tm_ui_style_t, tm_vec2_t, *mut tm_tree_view_parent_t, tm_tt_id_t, u32)>,
    pub compute_node_properties: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *const tm_tree_view_parent_t, tm_tt_id_t, *mut bool, *mut bool, *mut bool, *mut bool, *mut u64, *mut tm_temp_allocator_i)>,
    pub ui: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_ui_o, *mut tm_ui_style_t, tm_tt_id_t, bool, *mut tm_ui_tree_item_res_t, bool)>,
    pub icon: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_ui_o, *const tm_ui_style_t, tm_tt_id_t, tm_rect_t, *mut tm_ui_tree_item_res_t) -> tm_rect_t>,
    pub additional_elements: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_ui_o, *const tm_ui_style_t, tm_tt_id_t, *mut tm_tree_view_parent_t, tm_rect_t, *mut tm_ui_tree_item_res_t, *mut tm_ui_tree_item_metrics_t)>,
    pub display_name: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, tm_tt_id_t, *mut i8, u32)>,
    pub tooltip: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_ui_o, *const tm_ui_style_t, tm_tt_id_t)>,
    pub get_node_children: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_tree_view_parent_t, tm_tt_id_t, *mut tm_temp_allocator_i) -> *mut tm_tree_view_children_t>,
}

Fields

setup: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *const tm_the_truth_o, tm_tt_id_t)>context_menu: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_undo_stack_i, *mut tm_ui_o, *const tm_ui_style_t, tm_vec2_t, *mut tm_tree_view_parent_t, tm_tt_id_t, u32)>compute_node_properties: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *const tm_tree_view_parent_t, tm_tt_id_t, *mut bool, *mut bool, *mut bool, *mut bool, *mut u64, *mut tm_temp_allocator_i)>ui: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_ui_o, *mut tm_ui_style_t, tm_tt_id_t, bool, *mut tm_ui_tree_item_res_t, bool)>icon: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_ui_o, *const tm_ui_style_t, tm_tt_id_t, tm_rect_t, *mut tm_ui_tree_item_res_t) -> tm_rect_t>additional_elements: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_ui_o, *const tm_ui_style_t, tm_tt_id_t, *mut tm_tree_view_parent_t, tm_rect_t, *mut tm_ui_tree_item_res_t, *mut tm_ui_tree_item_metrics_t)>display_name: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, tm_tt_id_t, *mut i8, u32)>tooltip: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_ui_o, *const tm_ui_style_t, tm_tt_id_t)>get_node_children: Option<unsafe extern "C" fn(*mut c_void, *mut tm_tree_view_o, *mut tm_the_truth_o, *mut tm_tree_view_parent_t, tm_tt_id_t, *mut tm_temp_allocator_i) -> *mut tm_tree_view_children_t>

Trait Implementations

impl Clone for tm_tree_view_aspect_i[src]

impl Copy for tm_tree_view_aspect_i[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.