Type Alias mozjs::jsapi::js::SetPropertyOp

source ·
pub type SetPropertyOp = Option<unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<PropertyKey>, _: Handle<Value>, _: Handle<Value>, _: *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.