Type Alias script::dom::bindings::import::module::jsapi::FinishClassInitOp

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