Skip to main content

UnpackArrayAPI

Trait UnpackArrayAPI 

Source
pub trait UnpackArrayAPI {
    type Output;

    // Required method
    fn unpack_array(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn unpack_array(self) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<'l, T, const N: usize> UnpackArrayAPI for &'l [[T; N]]

Source§

impl<'l, T, const N: usize> UnpackArrayAPI for &'l mut [[T; N]]

Source§

type Output = &'l mut [T]

Source§

fn unpack_array(self) -> <&'l mut [[T; N]] as UnpackArrayAPI>::Output ⓘ

Source§

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

Implementors§