[][src]Struct tm_sys::ffi::tm_expression_language_api

#[repr(C)]pub struct tm_expression_language_api {
    pub compile: Option<unsafe extern "C" fn(source: *const c_char, variables: *const u64, num_variables: u16, ta: *mut tm_temp_allocator_i) -> *mut c_char>,
    pub is_error: Option<unsafe extern "C" fn(byte_code: *const c_char) -> *const c_char>,
    pub is_constant: Option<unsafe extern "C" fn(byte_code: *const c_char, value: *mut f32) -> bool>,
    pub used_variables: Option<unsafe extern "C" fn(byte_code: *const c_char, ta: *mut tm_temp_allocator_i) -> *mut u16>,
    pub size: Option<unsafe extern "C" fn(byte_code: *const c_char) -> u32>,
    pub run: Option<unsafe extern "C" fn(byte_code: *const c_char, variables: *const f32) -> f32>,
}

Fields

compile: Option<unsafe extern "C" fn(source: *const c_char, variables: *const u64, num_variables: u16, ta: *mut tm_temp_allocator_i) -> *mut c_char>is_error: Option<unsafe extern "C" fn(byte_code: *const c_char) -> *const c_char>is_constant: Option<unsafe extern "C" fn(byte_code: *const c_char, value: *mut f32) -> bool>used_variables: Option<unsafe extern "C" fn(byte_code: *const c_char, ta: *mut tm_temp_allocator_i) -> *mut u16>size: Option<unsafe extern "C" fn(byte_code: *const c_char) -> u32>run: Option<unsafe extern "C" fn(byte_code: *const c_char, variables: *const f32) -> f32>

Trait Implementations

impl Clone for tm_expression_language_api[src]

impl Copy for tm_expression_language_api[src]

impl Debug for tm_expression_language_api[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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.