[−][src]Struct tm_sys::ffi::tm_ui_renderer_api
Fields
create: Option<unsafe extern "C" fn(res_buf: *mut tm_renderer_resource_command_buffer_o, shader_repository: *mut tm_shader_repository_o, allocator: *mut tm_allocator_i, device_affinity: u32) -> *mut tm_ui_renderer_o>destroy: Option<unsafe extern "C" fn(ui_renderer: *mut tm_ui_renderer_o, res_buf: *mut tm_renderer_resource_command_buffer_o)>render: Option<unsafe extern "C" fn(ui_renderer: *mut tm_ui_renderer_o, ui: *mut tm_ui_o, sort_key: u64, render_target_resolution: *const u32, dpi_scale_factor: f32, res_buf: *mut tm_renderer_resource_command_buffer_o, cmd_buf: *mut tm_renderer_command_buffer_o)>font: Option<unsafe extern "C" fn(ui_renderer: *mut tm_ui_renderer_o, font_size: u32, window_dpi: f32, res_buf: *mut tm_renderer_resource_command_buffer_o) -> *const tm_font_t>allocate_image_slot: Option<unsafe extern "C" fn(ui_renderer: *mut tm_ui_renderer_o) -> u32>set_image: Option<unsafe extern "C" fn(ui_renderer: *mut tm_ui_renderer_o, slot: u32, image_handle: u32)>Trait Implementations
impl Clone for tm_ui_renderer_api[src]
pub fn clone(&self) -> tm_ui_renderer_api[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for tm_ui_renderer_api[src]
impl Debug for tm_ui_renderer_api[src]
Auto Trait Implementations
impl RefUnwindSafe for tm_ui_renderer_api
impl Send for tm_ui_renderer_api
impl Sync for tm_ui_renderer_api
impl Unpin for tm_ui_renderer_api
impl UnwindSafe for tm_ui_renderer_api
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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> 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>,