๐ฌ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:
- RawVec
Inner ๐Experimental - Like a
RawVec
, but only generic over the allocator, not the type.
Enumsยง
- Alloc
Init ๐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 ifT
is a ZST thenCap::ZERO
.
Type Aliasesยง
- Cap ๐
Experimental