Type Alias mozjs_sys::jsapi::js::LookupPropertyOp

source ·
pub type LookupPropertyOp = Option<unsafe extern "C" fn(cx: *mut JSContext, obj: HandleObject, id: HandleId, objp: MutableHandleObject, propp: *mut PropertyResult) -> bool>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.