Function script::dom::bindings::interface::create_interface_prototype_object

source ยท
pub fn create_interface_prototype_object(
    cx: JSContext,
    global: HandleObject<'_>,
    proto: HandleObject<'_>,
    class: &'static JSClass,
    regular_methods: &[Guard<&'static [JSFunctionSpec]>],
    regular_properties: &[Guard<&'static [JSPropertySpec]>],
    constants: &[Guard<&[ConstantSpec]>],
    unscopable_names: &[&CStr],
    rval: MutableHandleObject<'_>,
)
Expand description

Create the interface prototype object of a non-callback interface.