#[repr(C)]pub struct tm_shader_creation_graph_api {
pub create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>,
pub compile_data_to_wire: Option<unsafe extern "C" fn(*mut tm_creation_graph_instance_t, u32, *const tm_the_truth_o, tm_tt_id_t, u64) -> bool>,
pub node_from_declaration: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_id_t, *mut tm_creation_graph_node_type_i, *mut tm_allocator_i)>,
pub register_static_graph_nodes: Option<unsafe extern "C" fn(*mut tm_api_registry_api, bool)>,
pub wire_result_as_string: Option<unsafe extern "C" fn(*const tm_the_truth_o, *mut tm_temp_allocator_i, *const tm_creation_graph_interpreter_wire_content_t, *const tm_connector_type_t) -> *const i8>,
}Fields§
§create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>§compile_data_to_wire: Option<unsafe extern "C" fn(*mut tm_creation_graph_instance_t, u32, *const tm_the_truth_o, tm_tt_id_t, u64) -> bool>§node_from_declaration: Option<unsafe extern "C" fn(*mut tm_the_truth_o, tm_tt_id_t, *mut tm_creation_graph_node_type_i, *mut tm_allocator_i)>§register_static_graph_nodes: Option<unsafe extern "C" fn(*mut tm_api_registry_api, bool)>§wire_result_as_string: Option<unsafe extern "C" fn(*const tm_the_truth_o, *mut tm_temp_allocator_i, *const tm_creation_graph_interpreter_wire_content_t, *const tm_connector_type_t) -> *const i8>Trait Implementations§
Source§impl Clone for tm_shader_creation_graph_api
impl Clone for tm_shader_creation_graph_api
Source§fn clone(&self) -> tm_shader_creation_graph_api
fn clone(&self) -> tm_shader_creation_graph_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_shader_creation_graph_api
Auto Trait Implementations§
impl Freeze for tm_shader_creation_graph_api
impl RefUnwindSafe for tm_shader_creation_graph_api
impl Send for tm_shader_creation_graph_api
impl Sync for tm_shader_creation_graph_api
impl Unpin for tm_shader_creation_graph_api
impl UnwindSafe for tm_shader_creation_graph_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