pub type MapInsertFn = for<'map, 'key, 'value> unsafe fn(_: PtrMut<'map>, _: PtrMut<'key>, _: PtrMut<'value>);Expand description
Insert a key-value pair into the map
§Safety
The map parameter must point to aligned, initialized memory of the correct type.
key and value are moved out of (with core::ptr::read) — they should be deallocated
afterwards but NOT dropped.