[][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]

pub const fn new() -> Self[src]

Create a new empty HeapVec

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

Trait Implementations

impl<T, A: AllocRef> From<Vec<T, A>> for HeapVec<T, A>[src]