Function mozjs::jsapi::JS_DefineElement

source ยท
pub unsafe extern "C" fn JS_DefineElement(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    index: u32,
    value: Handle<Value>,
    attrs: u32,
) -> bool