Type Alias MapInitInPlaceWithCapacityFn

Source
pub type MapInitInPlaceWithCapacityFn = for<'mem> unsafe fn(map: PtrUninit<'mem>, capacity: usize) -> PtrMut<'mem>;
Expand description

Initialize a map in place with a given capacity

ยงSafety

The map parameter must point to uninitialized memory of sufficient size. The function must properly initialize the memory.