PushArrayToVec

Trait PushArrayToVec 

Source
pub trait PushArrayToVec<N>
where N: Array<Self>, Self: Sized,
{ // Required method fn push_to_vec(element: N::Array, set: &mut Vec<Self>); }

Required Methods§

Source

fn push_to_vec(element: N::Array, set: &mut Vec<Self>)

This method tells this type how it can be pushed to a Vec as an array.

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.

Implementors§

Source§

impl<T: Clone, N: Array<T>> PushArrayToVec<N> for T