Type Alias spirv_cross_sys::spvc_error_callback

source ·
pub type spvc_error_callback = Option<unsafe extern "C" fn(userdata: *mut c_void, error: *const c_char)>;

Aliased Type§

enum spvc_error_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8))

Some value of type T.