Skip to main content

ToArrayVec

Trait ToArrayVec 

Source
pub trait ToArrayVec<T, const N: usize>: Sized {
    // Required method
    fn to_array_vec(self) -> ArrayVec<T, N>;
}

Required Methods§

Source

fn to_array_vec(self) -> ArrayVec<T, N>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T, const N: usize> ToArrayVec<T, N> for [T; N]

Source§

fn to_array_vec(self) -> ArrayVec<T, N>

Implementors§