Function script::dom::bindings::interface::create_named_constructors

source ยท
pub fn create_named_constructors(
    cx: JSContext,
    global: HandleObject<'_>,
    named_constructors: &[(unsafe extern "C" fn(cx: *mut JSContext, argc: u32, vp: *mut Value) -> bool, &CStr, u32)],
    interface_prototype_object: HandleObject<'_>,
)
Expand description

Create and define the named constructors of a non-callback interface.