tm_properties_view_api

Struct tm_properties_view_api 

Source
#[repr(C)]
pub struct tm_properties_view_api {
Show 67 fields pub create_properties_view: Option<unsafe extern "C" fn(allocator: *mut tm_allocator_i, config: *const tm_properties_view_config_t) -> *mut tm_properties_view_o>, pub destroy_properties_view: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o)>, pub set_object: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o, object: tm_tt_id_t) -> bool>, pub set_object_with_mask: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o, object: tm_tt_id_t, property_mask: u64) -> bool>, pub set_objects: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o, objects: *const tm_tt_id_t, n: u32) -> bool>, pub objects: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o) -> *const tm_tt_id_t>, pub ui: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o, asset_root: tm_tt_id_t, ui: *mut tm_ui_o, style: *const tm_ui_style_t, rect: tm_rect_t, tab: *mut tm_tab_i)>, pub ui_info: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o) -> *mut tm_properties_ui_info_t>, pub metrics: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o) -> *mut f32>, pub get_type_display_name: Option<unsafe extern "C" fn(tt: *const tm_the_truth_o, object_type: u64, buffer: *mut c_char, size: u32)>, pub get_display_name: Option<unsafe extern "C" fn(tt: *const tm_the_truth_o, object: tm_tt_id_t, buffer: *mut c_char, size: u32)>, pub ui_object: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, indent: u32) -> f32>, pub ui_object_default: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, indent: u32) -> f32>, pub ui_property: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, indent: u32, property: u32) -> f32>, pub ui_property_with_name: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, indent: u32, property: u32) -> f32>, pub ui_property_default: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, indent: u32, property: u32) -> f32>, pub ui_property_default_with_name: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, indent: u32, property: u32) -> f32>, pub ui_tree_item: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, key: u64, rect: tm_rect_t, indent: u32, expanded_default: bool, tooltip: *const c_char) -> bool>, pub ui_group: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, indent: u32, expanded_default: bool, is_expanded: *mut bool) -> f32>, pub show_subobject_menu: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, undo_stack: *mut tm_undo_stack_i, ui: *mut tm_ui_o, uistyle: *mut tm_ui_style_t, object: tm_tt_id_t, property: u32, sub: tm_tt_id_t, pos: tm_vec2_t) -> tm_tt_undo_scope_t>, pub begin_context_menu_scope: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, rect: tm_rect_t)>, pub end_context_menu_scope: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, out_id: *mut u64, out_text: *mut *mut c_char)>, pub selected_context_menu_item: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, out_id: *mut u64, out_text: *mut *mut c_char)>, pub add_context_menu_items: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, items: *const tm_ui_menu_item_t, num_items: u32)>, pub context_menu: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t)>, pub ui_bool: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>, pub ui_uint32: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, converter: *mut tm_properties_uint32_display_converter_i) -> f32>, pub ui_uint64: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>, pub ui_float: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, converter: *const tm_properties_float_display_converter_i) -> f32>, pub ui_double: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>, pub ui_string: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>, pub ui_reference: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>, pub ui_reference_args: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, picker_args: *const tm_propeties_reference_picker_args_t) -> f32>, pub ui_subobject: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, indent: u32, expanded_by_default: bool) -> f32>, pub ui_reference_set: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, indent: u32) -> f32>, pub ui_subobject_set: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, indent: u32) -> f32>, pub ui_subobject_set_item_header: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, property: u32, sub: tm_tt_id_t, indent: u32, expanded_by_default: bool) -> bool>, pub ui_subobject_set_item: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, property: u32, sub: tm_tt_id_t, indent: u32, expanded_by_default: bool) -> f32>, pub ui_subobject_direct: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, parent: tm_tt_id_t, subobject: tm_tt_id_t, indent: u32, expanded_by_default: bool) -> f32>, pub ui_uint32_popup_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, num_items: u32) -> f32>, pub ui_uint64_popup_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, items_values: *const u64, num_items: u32) -> f32>, pub ui_reference_popup_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, items_references: *const tm_tt_id_t, num_items: u32) -> f32>, pub ui_string_popup_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, num_items: u32) -> f32>, pub ui_uint32_dropdown: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint32: *const u32, num_items: u32) -> f32>, pub ui_uint64_dropdown: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint64: *const u64, num_items: u32) -> f32>, pub ui_float_slider: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, slider: *const tm_properties_float_slider_t) -> f32>, pub ui_vec2: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, position: tm_tt_id_t) -> f32>, pub ui_vec3: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, position: tm_tt_id_t) -> f32>, pub ui_vec4: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, position: tm_tt_id_t) -> f32>, pub ui_color_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, color: tm_tt_id_t) -> f32>, pub ui_rotation: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, rotation: tm_tt_id_t) -> f32>, pub ui_visibility_flags: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, indent: u32) -> f32>, pub ui_label: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char) -> f32>, pub ui_horizontal_line: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t) -> f32>, pub ui_static_text: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, text: *const c_char) -> f32>, pub ui_prototype: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, parent: tm_tt_id_t, property: u32, subobject: tm_tt_id_t, pick_type_hash: u64) -> f32>, pub ui_open_path: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, extensions: *const c_char, description: *const c_char) -> f32>, pub ui_save_path: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, extensions: *const c_char, description: *const c_char) -> f32>, pub ui_color_button: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, color_button: *const tm_ui_button_t, color: tm_tt_id_t) -> bool>, pub ui_expanded_color_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, color: tm_tt_id_t) -> f32>, pub internal__copy_expanded_state: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, from_key: tm_tt_id_t, to_key: tm_tt_id_t)>, pub ui_multi_object: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, parent_proxy: tm_tt_id_t, property: u32, objects: *const tm_tt_id_t, n: u32, indent: u32) -> f32>, pub proxy_to_objects: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, proxy: tm_tt_id_t) -> *const tm_tt_id_t>, pub multi_proxy: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, parent_proxy: tm_tt_id_t, property: u32, objects: *const tm_tt_id_t, n: u32) -> tm_tt_id_t>, pub get_property_value: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, object: tm_tt_id_t, property: u32, ta: *mut tm_temp_allocator_i) -> *const tm_tt_prop_value_t>, pub was_changed: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, object: tm_tt_id_t, property: u32) -> bool>, pub popup_pick_with_categories: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, ui_id: u64, pos: tm_vec2_t, strings: *const *const c_char, categories: *const *const c_char, num_strings: u32, pick_index: *mut u32) -> bool>,
}

Fields§

§create_properties_view: Option<unsafe extern "C" fn(allocator: *mut tm_allocator_i, config: *const tm_properties_view_config_t) -> *mut tm_properties_view_o>§destroy_properties_view: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o)>§set_object: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o, object: tm_tt_id_t) -> bool>§set_object_with_mask: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o, object: tm_tt_id_t, property_mask: u64) -> bool>§set_objects: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o, objects: *const tm_tt_id_t, n: u32) -> bool>§objects: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o) -> *const tm_tt_id_t>§ui: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o, asset_root: tm_tt_id_t, ui: *mut tm_ui_o, style: *const tm_ui_style_t, rect: tm_rect_t, tab: *mut tm_tab_i)>§ui_info: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o) -> *mut tm_properties_ui_info_t>§metrics: Option<unsafe extern "C" fn(inst: *mut tm_properties_view_o) -> *mut f32>§get_type_display_name: Option<unsafe extern "C" fn(tt: *const tm_the_truth_o, object_type: u64, buffer: *mut c_char, size: u32)>§get_display_name: Option<unsafe extern "C" fn(tt: *const tm_the_truth_o, object: tm_tt_id_t, buffer: *mut c_char, size: u32)>§ui_object: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, indent: u32) -> f32>§ui_object_default: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, indent: u32) -> f32>§ui_property: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, indent: u32, property: u32) -> f32>§ui_property_with_name: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, indent: u32, property: u32) -> f32>§ui_property_default: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, indent: u32, property: u32) -> f32>§ui_property_default_with_name: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, indent: u32, property: u32) -> f32>§ui_tree_item: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, key: u64, rect: tm_rect_t, indent: u32, expanded_default: bool, tooltip: *const c_char) -> bool>§ui_group: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, indent: u32, expanded_default: bool, is_expanded: *mut bool) -> f32>§show_subobject_menu: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, undo_stack: *mut tm_undo_stack_i, ui: *mut tm_ui_o, uistyle: *mut tm_ui_style_t, object: tm_tt_id_t, property: u32, sub: tm_tt_id_t, pos: tm_vec2_t) -> tm_tt_undo_scope_t>§begin_context_menu_scope: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, rect: tm_rect_t)>§end_context_menu_scope: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, out_id: *mut u64, out_text: *mut *mut c_char)>§selected_context_menu_item: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, out_id: *mut u64, out_text: *mut *mut c_char)>§add_context_menu_items: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, items: *const tm_ui_menu_item_t, num_items: u32)>§context_menu: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t)>§ui_bool: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>§ui_uint32: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, converter: *mut tm_properties_uint32_display_converter_i) -> f32>§ui_uint64: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>§ui_float: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, converter: *const tm_properties_float_display_converter_i) -> f32>§ui_double: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>§ui_string: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>§ui_reference: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32) -> f32>§ui_reference_args: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, picker_args: *const tm_propeties_reference_picker_args_t) -> f32>§ui_subobject: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, indent: u32, expanded_by_default: bool) -> f32>§ui_reference_set: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, indent: u32) -> f32>§ui_subobject_set: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, indent: u32) -> f32>§ui_subobject_set_item_header: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, property: u32, sub: tm_tt_id_t, indent: u32, expanded_by_default: bool) -> bool>§ui_subobject_set_item: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, object: tm_tt_id_t, property: u32, sub: tm_tt_id_t, indent: u32, expanded_by_default: bool) -> f32>§ui_subobject_direct: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, parent: tm_tt_id_t, subobject: tm_tt_id_t, indent: u32, expanded_by_default: bool) -> f32>§ui_uint32_popup_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, num_items: u32) -> f32>§ui_uint64_popup_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, items_values: *const u64, num_items: u32) -> f32>§ui_reference_popup_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, items_references: *const tm_tt_id_t, num_items: u32) -> f32>§ui_string_popup_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, num_items: u32) -> f32>§ui_uint32_dropdown: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint32: *const u32, num_items: u32) -> f32>§ui_uint64_dropdown: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint64: *const u64, num_items: u32) -> f32>§ui_float_slider: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, slider: *const tm_properties_float_slider_t) -> f32>§ui_vec2: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, position: tm_tt_id_t) -> f32>§ui_vec3: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, position: tm_tt_id_t) -> f32>§ui_vec4: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, position: tm_tt_id_t) -> f32>§ui_color_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, color: tm_tt_id_t) -> f32>§ui_rotation: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, rotation: tm_tt_id_t) -> f32>§ui_visibility_flags: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, indent: u32) -> f32>§ui_label: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char) -> f32>§ui_horizontal_line: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t) -> f32>§ui_static_text: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, text: *const c_char) -> f32>§ui_prototype: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, parent: tm_tt_id_t, property: u32, subobject: tm_tt_id_t, pick_type_hash: u64) -> f32>§ui_open_path: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, extensions: *const c_char, description: *const c_char) -> f32>§ui_save_path: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, name: *const c_char, tooltip: *const c_char, object: tm_tt_id_t, property: u32, extensions: *const c_char, description: *const c_char) -> f32>§ui_color_button: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, color_button: *const tm_ui_button_t, color: tm_tt_id_t) -> bool>§ui_expanded_color_picker: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, color: tm_tt_id_t) -> f32>§internal__copy_expanded_state: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, from_key: tm_tt_id_t, to_key: tm_tt_id_t)>§ui_multi_object: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, item_rect: tm_rect_t, parent_proxy: tm_tt_id_t, property: u32, objects: *const tm_tt_id_t, n: u32, indent: u32) -> f32>§proxy_to_objects: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, proxy: tm_tt_id_t) -> *const tm_tt_id_t>§multi_proxy: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, parent_proxy: tm_tt_id_t, property: u32, objects: *const tm_tt_id_t, n: u32) -> tm_tt_id_t>§get_property_value: Option<unsafe extern "C" fn(pv: *mut tm_properties_view_o, object: tm_tt_id_t, property: u32, ta: *mut tm_temp_allocator_i) -> *const tm_tt_prop_value_t>§was_changed: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, object: tm_tt_id_t, property: u32) -> bool>§popup_pick_with_categories: Option<unsafe extern "C" fn(args: *mut tm_properties_ui_args_t, ui_id: u64, pos: tm_vec2_t, strings: *const *const c_char, categories: *const *const c_char, num_strings: u32, pick_index: *mut u32) -> bool>

Trait Implementations§

Source§

impl Clone for tm_properties_view_api

Source§

fn clone(&self) -> tm_properties_view_api

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for tm_properties_view_api

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.