#[repr(C)]pub struct tm_vulkan_api {
pub create_backend: Option<unsafe extern "C" fn(allocator: *mut tm_allocator_i, error: *mut tm_error_i) -> *mut tm_vulkan_backend_i>,
pub destroy_backend: Option<unsafe extern "C" fn(backend: *mut tm_vulkan_backend_i)>,
pub shader_compiler: Option<unsafe extern "C" fn() -> *mut tm_renderer_shader_compiler_api>,
}Fields§
§create_backend: Option<unsafe extern "C" fn(allocator: *mut tm_allocator_i, error: *mut tm_error_i) -> *mut tm_vulkan_backend_i>§destroy_backend: Option<unsafe extern "C" fn(backend: *mut tm_vulkan_backend_i)>§shader_compiler: Option<unsafe extern "C" fn() -> *mut tm_renderer_shader_compiler_api>Trait Implementations§
Source§impl Clone for tm_vulkan_api
impl Clone for tm_vulkan_api
Source§fn clone(&self) -> tm_vulkan_api
fn clone(&self) -> tm_vulkan_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_vulkan_api
Auto Trait Implementations§
impl Freeze for tm_vulkan_api
impl RefUnwindSafe for tm_vulkan_api
impl Send for tm_vulkan_api
impl Sync for tm_vulkan_api
impl Unpin for tm_vulkan_api
impl UnwindSafe for tm_vulkan_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