Skip to main content

SetInitInPlaceWithCapacityFn

Type Alias SetInitInPlaceWithCapacityFn 

Source
pub type SetInitInPlaceWithCapacityFn = unsafe extern "C" fn(set: PtrUninit, capacity: usize) -> PtrMut;
Expand description

Initialize a set in place with a given capacity

ยงSafety

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