Type Alias mozjs_sys::jsapi::js::GetElementsOp

source ·
pub type GetElementsOp = Option<unsafe extern "C" fn(cx: *mut JSContext, obj: HandleObject, begin: u32, end: u32, adder: *mut ElementAdder) -> bool>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.