[][src]Type Definition generic_vec::ArrayVec

type ArrayVec<T, const N: usize> = TypeVec<T, [T; N]>;
This is supported on crate feature nightly only.

An array backed vector backed by potentially uninitialized memory

Implementations

impl<T, const N: usize> ArrayVec<T, N>[src]

pub const fn from_array(array: [T; N]) -> Self[src]

Create a new full ArrayVec

pub fn into_array(self) -> [T; N][src]

Convert this ArrayVec into an array

Panic

Panics if the the collection is not full

Trait Implementations

impl<T, const N: usize> From<[T; N]> for ArrayVec<T, N>[src]