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§
pub enum FinishClassInitOp {
None,
Some(unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<*mut JSObject>) -> bool),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<*mut JSObject>) -> 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.