#[repr(C)]pub struct tm_sculpt_component_api {
pub box_place_tool: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, *mut tm_ui_o, *const tm_ui_style_t, tm_rect_t, u64, *const tm_camera_t, *mut tm_undo_stack_i)>,
pub box_drag_tool: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, *mut tm_ui_o, *const tm_ui_style_t, tm_rect_t, u64, *const tm_camera_t, *mut tm_primitive_drawer_buffer_t, *mut tm_primitive_drawer_buffer_t, *const tm_gizmo__move_settings_t, *mut tm_undo_stack_i)>,
pub box_select_tool: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, *mut tm_ui_o, *const tm_ui_style_t, tm_rect_t, u64, u64, *const tm_camera_t, *mut tm_primitive_drawer_buffer_t, *mut tm_primitive_drawer_buffer_t, *const tm_sculpt_component__select_tool_settings_t, *mut tm_undo_stack_i) -> tm_sculpt_component__select_tool_results_t>,
}Fields§
§box_place_tool: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, *mut tm_ui_o, *const tm_ui_style_t, tm_rect_t, u64, *const tm_camera_t, *mut tm_undo_stack_i)>§box_drag_tool: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, *mut tm_ui_o, *const tm_ui_style_t, tm_rect_t, u64, *const tm_camera_t, *mut tm_primitive_drawer_buffer_t, *mut tm_primitive_drawer_buffer_t, *const tm_gizmo__move_settings_t, *mut tm_undo_stack_i)>§box_select_tool: Option<unsafe extern "C" fn(*mut tm_entity_context_o, tm_entity_t, *mut tm_ui_o, *const tm_ui_style_t, tm_rect_t, u64, u64, *const tm_camera_t, *mut tm_primitive_drawer_buffer_t, *mut tm_primitive_drawer_buffer_t, *const tm_sculpt_component__select_tool_settings_t, *mut tm_undo_stack_i) -> tm_sculpt_component__select_tool_results_t>Trait Implementations§
Source§impl Clone for tm_sculpt_component_api
impl Clone for tm_sculpt_component_api
Source§fn clone(&self) -> tm_sculpt_component_api
fn clone(&self) -> tm_sculpt_component_api
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_sculpt_component_api
Auto Trait Implementations§
impl Freeze for tm_sculpt_component_api
impl RefUnwindSafe for tm_sculpt_component_api
impl Send for tm_sculpt_component_api
impl Sync for tm_sculpt_component_api
impl Unpin for tm_sculpt_component_api
impl UnwindSafe for tm_sculpt_component_api
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