pub trait StructToVec<Item, const N: usize>: Sized + StructToArray<Item, N>where
Item: Clone,{
// Required methods
fn to_vec(self) -> Vec<Item>;
fn from_vec(v: &[Item]) -> Self;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.