Type Alias mozjs::jsapi::js::DefinePropertyOp
source · pub type DefinePropertyOp = Option<unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<PropertyKey>, _: Handle<PropertyDescriptor>, _: *mut ObjectOpResult) -> bool>;
Aliased Type§
enum DefinePropertyOp {
None,
Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<PropertyKey>, _: Handle<PropertyDescriptor>, _: *mut ObjectOpResult) -> bool),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<PropertyKey>, _: Handle<PropertyDescriptor>, _: *mut ObjectOpResult) -> bool)
Some value of type T
.