Function quickjs_runtime::quickjs_utils::get_constructor
source · pub unsafe fn get_constructor(
context: *mut JSContext,
constructor_name: &str,
) -> Result<QuickJsValueAdapter, JsError>
Expand description
§Safety
When passing a context pointer please make sure the corresponding QuickJsContext is still valid