Module alloc::raw_vec [] [src]

🔬 This is a nightly-only experimental API. (alloc #27783)

this library is unlikely to be stabilized in its current form or name


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: