Module raw_vec

Source
๐Ÿ”ฌThis is a nightly-only experimental API. (raw_vec_internals)

Structsยง

RawVec ๐Ÿ”’ Experimental
A low-level utility for more ergonomically allocating, reallocating, and deallocating a buffer of memory on the heap without having to worry about all the corner cases involved. This type is excellent for building your own data structures like Vec and VecDeque. In particular:
RawVecInner ๐Ÿ”’ Experimental
Like a RawVec, but only generic over the allocator, not the type.

Enumsยง

AllocInit ๐Ÿ”’ Experimental

Constantsยง

ZERO_CAP ๐Ÿ”’ Experimental

Functionsยง

alloc_guard ๐Ÿ”’ Experimental
capacity_overflow ๐Ÿ”’ Experimental
finish_grow ๐Ÿ”’ Experimental
handle_error ๐Ÿ”’ Experimental
layout_array ๐Ÿ”’ Experimental
min_non_zero_cap ๐Ÿ”’ Experimental
new_cap ๐Ÿ”’ โš Experimental
Cap(cap), except if T is a ZST then Cap::ZERO.

Type Aliasesยง

Cap ๐Ÿ”’ Experimental