Type Alias mozjs_sys::jsapi::JS::ConsumeStreamCallback

source ·
pub type ConsumeStreamCallback = Option<unsafe extern "C" fn(arg1: *mut JSContext, arg2: HandleObject, arg3: MimeType, arg4: *mut StreamConsumer) -> bool>;

Aliased Type§

enum ConsumeStreamCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: MimeType, _: *mut StreamConsumer) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: MimeType, _: *mut StreamConsumer) -> bool)

Some value of type T.