pub(crate) fn layout<T>(cap: usize) -> Layout
Gets the layout necessary to allocate a ThinVec<T>
ThinVec<T>
Panics if the required size overflows isize::MAX.
isize::MAX