Type Alias WGPUCreateRenderPipelineAsyncCallback

Source
pub type WGPUCreateRenderPipelineAsyncCallback = Option<unsafe extern "C" fn(status: WGPUCreatePipelineAsyncStatus, pipeline: WGPURenderPipeline, message: WGPUStringView, userdata1: *mut c_void, userdata2: *mut c_void)>;

Aliased Type§

pub enum WGPUCreateRenderPipelineAsyncCallback {
    None,
    Some(unsafe extern "C" fn(WGPUCreatePipelineAsyncStatus, *mut WGPURenderPipelineImpl, WGPUStringView, *mut c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(WGPUCreatePipelineAsyncStatus, *mut WGPURenderPipelineImpl, WGPUStringView, *mut c_void, *mut c_void))

Some value of type T.