#[repr(C)]pub struct retro_hw_render_callback {
pub context_type: retro_hw_context_type,
pub context_reset: retro_hw_context_reset_t,
pub get_current_framebuffer: retro_hw_get_current_framebuffer_t,
pub get_proc_address: retro_hw_get_proc_address_t,
pub depth: bool,
pub stencil: bool,
pub bottom_left_origin: bool,
pub version_major: c_uint,
pub version_minor: c_uint,
pub cache_context: bool,
pub context_destroy: retro_hw_context_reset_t,
pub debug_context: bool,
}
Fields§
§context_type: retro_hw_context_type
§context_reset: retro_hw_context_reset_t
§get_current_framebuffer: retro_hw_get_current_framebuffer_t
§get_proc_address: retro_hw_get_proc_address_t
§depth: bool
§stencil: bool
§bottom_left_origin: bool
§version_major: c_uint
§version_minor: c_uint
§cache_context: bool
§context_destroy: retro_hw_context_reset_t
§debug_context: bool
Trait Implementations§
Source§impl Clone for retro_hw_render_callback
impl Clone for retro_hw_render_callback
Source§fn clone(&self) -> retro_hw_render_callback
fn clone(&self) -> retro_hw_render_callback
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 moreSource§impl Debug for retro_hw_render_callback
impl Debug for retro_hw_render_callback
impl Copy for retro_hw_render_callback
Auto Trait Implementations§
impl Freeze for retro_hw_render_callback
impl RefUnwindSafe for retro_hw_render_callback
impl Send for retro_hw_render_callback
impl Sync for retro_hw_render_callback
impl Unpin for retro_hw_render_callback
impl UnwindSafe for retro_hw_render_callback
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