Type Alias mozjs::jsapi::js::ClassObjectCreationOp
source · pub type ClassObjectCreationOp = Option<unsafe extern "C" fn(_: *mut JSContext, _: JSProtoKey) -> *mut JSObject>;
Expand description
Callback for the creation of constructor and prototype objects.
Aliased Type§
enum ClassObjectCreationOp {
None,
Some(unsafe extern "C" fn(_: *mut JSContext, _: JSProtoKey) -> *mut JSObject),
}