#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_DefinePropertyGetSet(
ctx: *mut JsContext,
this_obj: JsValue,
prop: Atom,
getter: JsValue,
setter: JsValue,
flags: c_int,
) -> c_intExpand description
JS_DefinePropertyGetSet: the accessor-only spelling.
§Safety
As JS_DefineProperty; getter and setter’s references are consumed.