pub(crate) fn header_with_capacity<T>(cap: usize) -> NonNull<Header>
Allocates a header (and array) for a ThinVec<T> with the given capacity.
ThinVec<T>
Panics if the required size overflows isize::MAX.
isize::MAX