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

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