Type Alias 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§

pub 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.