ListReserveFn

Type Alias ListReserveFn 

Source
pub type ListReserveFn = unsafe fn(PtrMut, usize);
Expand description

Reserve capacity for at least additional more elements.

After calling this, the list’s capacity will be at least len + additional. This may reallocate the buffer, invalidating any previously obtained pointers.

§Safety

The list parameter must point to aligned, initialized memory of the correct type.