Trait GenericArrayVecExt

Source
pub trait GenericArrayVecExt<T, N>
where N: Capacity<T>, ArrayvecStorage<T, N>: Array,
{ // Required methods fn generic_from<A>(arr: A) -> GenericArrayVec<T, N> where A: Into<GenericArray<T, N>>; fn into_generic_array(self) -> Result<GenericArray<T, N>, Self> where Self: Sized; }
Expand description

Extension trait for GenericArrayVec.

See its impl on GenericArrayVec for more info.

Required Methods§

Source

fn generic_from<A>(arr: A) -> GenericArrayVec<T, N>
where A: Into<GenericArray<T, N>>,

Source

fn into_generic_array(self) -> Result<GenericArray<T, N>, Self>
where Self: Sized,

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, N> GenericArrayVecExt<T, N> for GenericArrayVec<T, N>
where N: Capacity<T>, ArrayvecStorage<T, N>: Array,