pub(crate) fn header_with_capacity<T>(
cap: usize,
is_auto: bool,
) -> NonNull<Header>Expand description
Allocates a header (and array) for a ThinVec<T> with the given capacity.
ยงPanics
Panics if the required size overflows isize::MAX when rounded up to the required alignment.