Type Alias mozjs_sys::jsapi::js::SetPropertyOp

source ·
pub type SetPropertyOp = Option<unsafe extern "C" fn(cx: *mut JSContext, obj: HandleObject, id: HandleId, v: HandleValue, receiver: HandleValue, result: *mut ObjectOpResult) -> bool>;

Aliased Type§

enum SetPropertyOp {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<PropertyKey>, _: Handle<Value>, _: Handle<Value>, _: *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<Value>, _: Handle<Value>, _: *mut ObjectOpResult) -> bool)

Some value of type T.