pub type DefinePropertyOp = Option<unsafe extern "C" fn(cx: *mut JSContext, obj: HandleObject, id: HandleId, desc: Handle<PropertyDescriptor>, result: *mut ObjectOpResult) -> bool>;
Aliased Type§
pub 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
.