Type Alias script::dom::bindings::import::module::jsapi::JS::ReportStreamErrorCallback

source ·
pub type ReportStreamErrorCallback = Option<unsafe extern "C" fn(_: *mut JSContext, _: usize)>;

Aliased Type§

enum ReportStreamErrorCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: usize)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: usize))

Some value of type T.