Type Alias mozjs::jsapi::GetPropertyOp

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