#[repr(C)]pub struct tm_ui_clipboard_api {
pub setup_the_truth: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>,
pub cut: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *const tm_tt_id_t, u32, *mut tm_undo_stack_i)>,
pub copy: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *const tm_tt_id_t, u32, *mut tm_undo_stack_i)>,
pub empty: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_undo_scope_t)>,
pub cut_objects: Option<unsafe extern "C" fn(*const tm_the_truth_o, *mut tm_temp_allocator_i) -> *const tm_tt_id_t>,
pub copied_objects: Option<unsafe extern "C" fn(*const tm_the_truth_o, *mut tm_temp_allocator_i) -> *const tm_tt_id_t>,
pub truth: Option<unsafe extern "C" fn() -> *const tm_the_truth_o>,
}Fields§
§setup_the_truth: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>§cut: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *const tm_tt_id_t, u32, *mut tm_undo_stack_i)>§copy: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *const tm_tt_id_t, u32, *mut tm_undo_stack_i)>§empty: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_undo_scope_t)>§cut_objects: Option<unsafe extern "C" fn(*const tm_the_truth_o, *mut tm_temp_allocator_i) -> *const tm_tt_id_t>§copied_objects: Option<unsafe extern "C" fn(*const tm_the_truth_o, *mut tm_temp_allocator_i) -> *const tm_tt_id_t>§truth: Option<unsafe extern "C" fn() -> *const tm_the_truth_o>Trait Implementations§
Source§impl Clone for tm_ui_clipboard_api
impl Clone for tm_ui_clipboard_api
Source§fn clone(&self) -> tm_ui_clipboard_api
fn clone(&self) -> tm_ui_clipboard_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_ui_clipboard_api
Auto Trait Implementations§
impl Freeze for tm_ui_clipboard_api
impl RefUnwindSafe for tm_ui_clipboard_api
impl Send for tm_ui_clipboard_api
impl Sync for tm_ui_clipboard_api
impl Unpin for tm_ui_clipboard_api
impl UnwindSafe for tm_ui_clipboard_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