Function quickjs_runtime::quickjs_utils::get_constructor[][src]

pub unsafe fn get_constructor(
    context: *mut JSContext,
    constructor_name: &str
) -> Result<JSValueRef, EsError>

Safety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid