Type Alias mozjs::jsapi::JSAddPropertyOp
source · pub type JSAddPropertyOp = Option<unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<PropertyKey>, _: Handle<Value>) -> bool>;
Expand description
Add a property named by id to obj.
Aliased Type§
enum JSAddPropertyOp {
None,
Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<PropertyKey>, _: Handle<Value>) -> bool),
}