Type Alias mozjs::jsapi::ConsumeStreamCallback

source ·
pub type ConsumeStreamCallback = Option<unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: MimeType, _: *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.