Type Alias mozjs_sys::jsapi::JSEnumerateOp
source · pub type JSEnumerateOp = Option<unsafe extern "C" fn(cx: *mut JSContext, obj: HandleObject) -> bool>;
Expand description
The old-style JSClass.enumerate op should define all lazy properties not yet reflected in obj.
Aliased Type§
enum JSEnumerateOp {
None,
Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>) -> bool),
}