Module raw_vec
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:
-
RawVecInner
Like a
RawVec, but only generic over the allocator, not the type.
Enums
Functions
- capacity_overflow
- handle_error
- layout_array
- min_non_zero_cap
-
new_cap
Cap(cap), except ifTis a ZST thenCap::ZERO.