pub type WGPULoggingCallback = Option<unsafe extern "C" fn(type_: WGPULoggingType, message: WGPUStringView, userdata1: *mut c_void, userdata2: *mut c_void)>;Aliased Type§
pub enum WGPULoggingCallback {
None,
Some(unsafe extern "C" fn(WGPULoggingType, WGPUStringView, *mut c_void, *mut c_void)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(WGPULoggingType, WGPUStringView, *mut c_void, *mut c_void))
Some value of type T.