Function layout

Source
pub(crate) fn layout<T>(cap: usize) -> Layout
Expand description

Gets the layout necessary to allocate a ThinVec<T>

ยงPanics

Panics if the required size overflows isize::MAX.