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§
None
No value.
Some(unsafe extern "C" fn(*const *mut WGPUDeviceImpl, WGPUErrorType, WGPUStringView, *mut c_void, *mut c_void))
Some value of type T.