Type Alias GetPropertyOp

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

Aliased Type§

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