pub type DefinePropertyOp = Option<unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<PropertyKey>, Handle<PropertyDescriptor>, *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
.