#[repr(C)]pub struct tm_grid_renderer_api {
pub create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>,
pub read_from_truth_settings: Option<unsafe extern "C" fn(*mut tm_visual_grid_t, *mut tm_the_truth_o, tm_tt_id_t)>,
pub render: Option<unsafe extern "C" fn(*const tm_shader_system_context_o, *mut tm_shader_o, *const tm_visual_grid_t, *mut tm_renderer_resource_command_buffer_o, *mut tm_renderer_command_buffer_o, u64)>,
}Fields§
§create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>§read_from_truth_settings: Option<unsafe extern "C" fn(*mut tm_visual_grid_t, *mut tm_the_truth_o, tm_tt_id_t)>§render: Option<unsafe extern "C" fn(*const tm_shader_system_context_o, *mut tm_shader_o, *const tm_visual_grid_t, *mut tm_renderer_resource_command_buffer_o, *mut tm_renderer_command_buffer_o, u64)>Trait Implementations§
Source§impl Clone for tm_grid_renderer_api
impl Clone for tm_grid_renderer_api
Source§fn clone(&self) -> tm_grid_renderer_api
fn clone(&self) -> tm_grid_renderer_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_grid_renderer_api
Auto Trait Implementations§
impl Freeze for tm_grid_renderer_api
impl RefUnwindSafe for tm_grid_renderer_api
impl Send for tm_grid_renderer_api
impl Sync for tm_grid_renderer_api
impl Unpin for tm_grid_renderer_api
impl UnwindSafe for tm_grid_renderer_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