flex_alloc::vec

Function from_array_in

Source
pub fn from_array_in<T, C, const N: usize>(
    data: [T; N],
    alloc_in: C,
) -> Vec<T, C::Config>
where C: VecNewIn<T>,
Expand description

Create a Vec<T, C> from an array [T; N] and an instance of VecNewIn<T>.