#[repr(C)]pub struct RawHwRenderCallback {
pub context_type: retro_hw_context_type,
pub context_reset: Option<unsafe extern "C" fn()>,
pub get_current_framebuffer: Option<unsafe extern "C" fn() -> usize>,
pub get_proc_address: Option<unsafe extern "C" fn(sym: *const c_char) -> Option<unsafe extern "C" fn()>>,
pub depth: bool,
pub stencil: bool,
pub bottom_left_origin: bool,
pub version_major: u32,
pub version_minor: u32,
pub cache_context: bool,
pub context_destroy: Option<unsafe extern "C" fn()>,
pub debug_context: bool,
}Fields§
§context_type: retro_hw_context_type§context_reset: Option<unsafe extern "C" fn()>§get_current_framebuffer: Option<unsafe extern "C" fn() -> usize>§get_proc_address: Option<unsafe extern "C" fn(sym: *const c_char) -> Option<unsafe extern "C" fn()>>§depth: bool§stencil: bool§bottom_left_origin: bool§version_major: u32§version_minor: u32§cache_context: bool§context_destroy: Option<unsafe extern "C" fn()>§debug_context: boolTrait 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 (const: unstable) · 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
Source§impl Default for retro_hw_render_callback
impl Default for retro_hw_render_callback
Source§fn default() -> retro_hw_render_callback
fn default() -> retro_hw_render_callback
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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