Type Alias mozjs::jsapi::JSErrorCallback

source ·
pub type JSErrorCallback = Option<unsafe extern "C" fn(_: *mut c_void, _: u32) -> *const JSErrorFormatString>;

Aliased Type§

enum JSErrorCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u32) -> *const JSErrorFormatString),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u32) -> *const JSErrorFormatString)

Some value of type T.