WGPUUncapturedErrorCallback

Type Alias WGPUUncapturedErrorCallback 

Source
pub type WGPUUncapturedErrorCallback = Option<unsafe extern "C" fn(device: *const WGPUDevice, type_: WGPUErrorType, message: WGPUStringView, userdata1: *mut c_void, userdata2: *mut c_void)>;

Aliased Type§

pub enum WGPUUncapturedErrorCallback {
    None,
    Some(unsafe extern "C" fn(*const *mut WGPUDeviceImpl, WGPUErrorType, WGPUStringView, *mut c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const *mut WGPUDeviceImpl, WGPUErrorType, WGPUStringView, *mut c_void, *mut c_void))

Some value of type T.