flex_alloc::vec

Function from_array

Source
pub fn from_array<T, const N: usize>(data: [T; N]) -> Vec<T>
Expand description

Create a Vec<T> from an array [T; N].