Type Alias mozjs_sys::jsapi::js::GetPropertyOp

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

Aliased Type§

enum GetPropertyOp {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<Value>, _: Handle<PropertyKey>, _: MutableHandle<Value>) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.