Type Alias mozjs_sys::jsapi::js::HasPropertyOp

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.