Struct gvox_sys::GvoxAdapterBaseInfo
source · #[repr(C)]pub struct GvoxAdapterBaseInfo {
pub name_str: *const c_char,
pub create: Option<unsafe extern "C" fn(ctx: *mut GvoxAdapterContext, config: *const c_void)>,
pub destroy: Option<unsafe extern "C" fn(ctx: *mut GvoxAdapterContext)>,
pub blit_begin: Option<unsafe extern "C" fn(blit_ctx: *mut GvoxBlitContext, ctx: *mut GvoxAdapterContext, range: *const GvoxRegionRange, channel_flags: u32)>,
pub blit_end: Option<unsafe extern "C" fn(blit_ctx: *mut GvoxBlitContext, ctx: *mut GvoxAdapterContext)>,
}Fields§
§name_str: *const c_char§create: Option<unsafe extern "C" fn(ctx: *mut GvoxAdapterContext, config: *const c_void)>§destroy: Option<unsafe extern "C" fn(ctx: *mut GvoxAdapterContext)>§blit_begin: Option<unsafe extern "C" fn(blit_ctx: *mut GvoxBlitContext, ctx: *mut GvoxAdapterContext, range: *const GvoxRegionRange, channel_flags: u32)>§blit_end: Option<unsafe extern "C" fn(blit_ctx: *mut GvoxBlitContext, ctx: *mut GvoxAdapterContext)>Trait Implementations§
source§impl Clone for GvoxAdapterBaseInfo
impl Clone for GvoxAdapterBaseInfo
source§fn clone(&self) -> GvoxAdapterBaseInfo
fn clone(&self) -> GvoxAdapterBaseInfo
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 more