Type Alias mozjs_sys::jsapi::js::DefinePropertyOp

source ·
pub type DefinePropertyOp = Option<unsafe extern "C" fn(cx: *mut JSContext, obj: HandleObject, id: HandleId, desc: Handle<PropertyDescriptor>, result: *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§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<PropertyKey>, _: Handle<PropertyDescriptor>, _: *mut ObjectOpResult) -> bool)

Some value of type T.