DynInsertObjectEntryFn

Type Alias DynInsertObjectEntryFn 

Source
pub type DynInsertObjectEntryFn = unsafe fn(object: PtrMut, key: &str, value: PtrMut);
Expand description

Insert a key-value pair into the object.

The value is moved out of value (not dropped, but the memory can be deallocated).

ยงSafety

object must point to an initialized dynamic value that is an object. value must point to an initialized dynamic value to insert.