Module allocator_api2::stable::raw_vec
source ยท Structsยง
- RawVec ๐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:
- The error type for
try_reserve
methods.
Enumsยง
- AllocInit ๐
- Details of the allocation that caused a
TryReserveError
Functionsยง
- alloc_guard ๐
- capacity_overflow ๐
- finish_grow ๐
- handle_reserve ๐