Type Alias mozjs::jsapi::JSEnumerateOp

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

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>) -> bool)

Some value of type T.