#[repr(C)]pub struct HwRenderCallback {
pub context_type: c_uint,
pub context_reset: HwContextResetFn,
pub get_current_framebuffer: HwGetCurrentFramebufferFn,
pub get_proc_address: HwGetProcAddressFn,
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: HwContextResetFn,
pub debug_context: bool,
}
Fields§
§context_type: c_uint
§context_reset: HwContextResetFn
§get_current_framebuffer: HwGetCurrentFramebufferFn
§get_proc_address: HwGetProcAddressFn
§depth: bool
§stencil: bool
§bottom_left_origin: bool
§version_major: c_uint
§version_minor: c_uint
§cache_context: bool
§context_destroy: HwContextResetFn
§debug_context: bool
Trait Implementations§
Source§impl Clone for HwRenderCallback
impl Clone for HwRenderCallback
Source§fn clone(&self) -> HwRenderCallback
fn clone(&self) -> HwRenderCallback
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for HwRenderCallback
impl RefUnwindSafe for HwRenderCallback
impl Send for HwRenderCallback
impl Sync for HwRenderCallback
impl Unpin for HwRenderCallback
impl UnwindSafe for HwRenderCallback
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