HasPropertyOp

Type Alias HasPropertyOp 

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

Aliased Type§

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

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.