Type Definition cl_generic_vec::ArrayVec[][src]

pub type ArrayVec<T, const N: usize> = GenericVec<T, [MaybeUninit<T>; N]>;
Expand description

An array backed vector backed by potentially uninitialized memory

Implementations

Create a new empty ArrayVec

Create a new full ArrayVec

Convert this ArrayVec into an array

Panics

Panics if the the collection is not full

Convert this ArrayVec into an array

Errors

errors if the the collection is not full

Trait Implementations

Performs the conversion.