Function quickjs_runtime::quickjs_utils::arrays::set_element

source ·
pub unsafe fn set_element(
    context: *mut JSContext,
    array_ref: &QuickJsValueAdapter,
    index: u32,
    entry_value_ref: &QuickJsValueAdapter,
) -> Result<(), JsError>
Expand description

§Safety

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