[−][src]Type Definition generic_vec::HeapVec
type HeapVec<T, A = Global> = GenericVec<T, Heap<T, A>>;
This is supported on crate features
alloc
and nightly
only.A heap backed vector with a growable capacity
Implementations
impl<T> HeapVec<T>
[src]
impl<T, A: AllocRef> HeapVec<T, A>
[src]
pub fn with_alloc(alloc: A) -> Self
[src]
Create a new empty HeapVec
with the given allocator