Function mozjs::jsapi::JS_DefinePropertyById3

source ยท
pub unsafe extern "C" fn JS_DefinePropertyById3(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    id: Handle<PropertyKey>,
    getter: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
    setter: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
    attrs: u32,
) -> bool