pub type ClassObjectCreationOp = Option<unsafe extern "C" fn(cx: *mut JSContext, key: JSProtoKey) -> *mut JSObject>;Expand description
Callback for the creation of constructor and prototype objects.
Aliased Type§
pub enum ClassObjectCreationOp {
None,
Some(unsafe extern "C" fn(*mut JSContext, JSProtoKey) -> *mut JSObject),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut JSContext, JSProtoKey) -> *mut JSObject)
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.