[−][src]Struct tm_rs::ffi::tm_the_truth_common_types_api
Fields
create_common_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>
read_floats: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, *mut f32, u32) -> *mut f32>
write_floats: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, *const f32, u32)>
get_vec2: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_vec2_t>
get_vec3: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_vec3_t>
get_vec4: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_vec4_t>
get_rect: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_rect_t>
get_position: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_vec3_t>
get_rotation: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_vec4_t>
get_scale: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_vec3_t>
get_color_rgb: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_vec3_t>
get_color_rgba: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_vec4_t>
get_color_srgb: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_color_srgb_t>
get_color_srgba: Option<unsafe extern "C" fn(*const tm_the_truth_o, *const tm_the_truth_object_o, u32) -> tm_color_srgb_t>
set_vec2: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_vec2_t, tm_tt_undo_scope_t)>
set_vec3: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_vec3_t, tm_tt_undo_scope_t)>
set_vec4: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_vec4_t, tm_tt_undo_scope_t)>
set_rect: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_rect_t, tm_tt_undo_scope_t)>
set_position: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_vec3_t, tm_tt_undo_scope_t)>
set_rotation: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_vec4_t, tm_tt_undo_scope_t)>
set_scale: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_vec3_t, tm_tt_undo_scope_t)>
set_color_rgb: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_vec3_t, tm_tt_undo_scope_t)>
set_color_rgba: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_vec4_t, tm_tt_undo_scope_t)>
set_color_srgb: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_color_srgb_t, tm_tt_undo_scope_t)>
set_color_srgba: Option<unsafe extern "C" fn(*mut tm_the_truth_o, *mut tm_the_truth_object_o, u32, tm_color_srgb_t, tm_tt_undo_scope_t)>
Trait Implementations
impl Clone for tm_the_truth_common_types_api
[src]
pub fn clone(&self) -> tm_the_truth_common_types_api
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tm_the_truth_common_types_api
[src]
Auto Trait Implementations
impl RefUnwindSafe for tm_the_truth_common_types_api
impl Send for tm_the_truth_common_types_api
impl Sync for tm_the_truth_common_types_api
impl Unpin for tm_the_truth_common_types_api
impl UnwindSafe for tm_the_truth_common_types_api
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,