#[repr(C)]pub struct tm_ci_editor_ui_i {
pub disabled: Option<unsafe extern "C" fn() -> bool>,
pub category: Option<unsafe extern "C" fn() -> *const c_char>,
pub icon_interface: Option<unsafe extern "C" fn() -> *mut tm_ci_editor_ui_icon_i>,
pub gizmo_priority: f32,
pub _padding_90: [c_char; 4],
pub gizmo_get_transform: Option<unsafe extern "C" fn(tt: *const tm_the_truth_o, ctx: *mut tm_entity_context_o, entity: tm_tt_id_t, component: tm_tt_id_t, object: tm_tt_id_t, world: *mut tm_transform_t, local: *mut tm_transform_t) -> bool>,
pub gizmo_set_transform: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, ctx: *mut tm_entity_context_o, entity: tm_tt_id_t, component: tm_tt_id_t, object: tm_tt_id_t, local: *const tm_transform_t, undo_scope: tm_tt_undo_scope_t)>,
pub gizmo_duplicate: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, ctx: *mut tm_entity_context_o, entity: tm_tt_id_t, component: tm_tt_id_t, object: tm_tt_id_t, undo_scope: tm_tt_undo_scope_t) -> tm_tt_id_t>,
pub override_properties: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, other_component: tm_tt_id_t) -> tm_ci_editor_properties_ui_f>,
pub viewport_interact: Option<unsafe extern "C" fn(vi: *const tm_ci_viewport_interact) -> tm_ci_viewport_interact_result>,
pub create: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, type_: u64, undo_scope: tm_tt_undo_scope_t) -> tm_tt_id_t>,
pub toolbar: Option<unsafe extern "C" fn(ci: *const tm_ci_toolbar) -> *mut tm_tab_toolbar_i>,
}Fields§
§disabled: Option<unsafe extern "C" fn() -> bool>§category: Option<unsafe extern "C" fn() -> *const c_char>§icon_interface: Option<unsafe extern "C" fn() -> *mut tm_ci_editor_ui_icon_i>§gizmo_priority: f32§_padding_90: [c_char; 4]§gizmo_get_transform: Option<unsafe extern "C" fn(tt: *const tm_the_truth_o, ctx: *mut tm_entity_context_o, entity: tm_tt_id_t, component: tm_tt_id_t, object: tm_tt_id_t, world: *mut tm_transform_t, local: *mut tm_transform_t) -> bool>§gizmo_set_transform: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, ctx: *mut tm_entity_context_o, entity: tm_tt_id_t, component: tm_tt_id_t, object: tm_tt_id_t, local: *const tm_transform_t, undo_scope: tm_tt_undo_scope_t)>§gizmo_duplicate: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, ctx: *mut tm_entity_context_o, entity: tm_tt_id_t, component: tm_tt_id_t, object: tm_tt_id_t, undo_scope: tm_tt_undo_scope_t) -> tm_tt_id_t>§override_properties: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, other_component: tm_tt_id_t) -> tm_ci_editor_properties_ui_f>§viewport_interact: Option<unsafe extern "C" fn(vi: *const tm_ci_viewport_interact) -> tm_ci_viewport_interact_result>§create: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o, type_: u64, undo_scope: tm_tt_undo_scope_t) -> tm_tt_id_t>§toolbar: Option<unsafe extern "C" fn(ci: *const tm_ci_toolbar) -> *mut tm_tab_toolbar_i>Trait Implementations§
Source§impl Clone for tm_ci_editor_ui_i
impl Clone for tm_ci_editor_ui_i
Source§fn clone(&self) -> tm_ci_editor_ui_i
fn clone(&self) -> tm_ci_editor_ui_i
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_ci_editor_ui_i
Auto Trait Implementations§
impl Freeze for tm_ci_editor_ui_i
impl RefUnwindSafe for tm_ci_editor_ui_i
impl Send for tm_ci_editor_ui_i
impl Sync for tm_ci_editor_ui_i
impl Unpin for tm_ci_editor_ui_i
impl UnsafeUnpin for tm_ci_editor_ui_i
impl UnwindSafe for tm_ci_editor_ui_i
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