[][src]Struct tm_rs::ffi::tm_ui_clipboard_api

#[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

impl Clone for tm_ui_clipboard_api[src]

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