Type Definition cl_generic_vec::HeapVec

source · []
pub type HeapVec<T, A = Global> = GenericVec<T, Box<[MaybeUninit<T>], A>>;
This is supported on crate features alloc and nightly only.
Expand description

A heap backed vector with a growable capacity

Implementations

Create a new empty HeapVec

Create a new empty HeapVec with the given allocator

Trait Implementations

Performs the conversion.