Type Alias mozjs_sys::jsapi::js::FinishClassInitOp

source ·
pub type FinishClassInitOp = Option<unsafe extern "C" fn(cx: *mut JSContext, ctor: HandleObject, proto: HandleObject) -> bool>;
Expand description

Callback for custom post-processing after class initialization via ClassSpec.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.