Trait ExtensionToArray

Source
pub trait ExtensionToArray<T, const N: usize>: Into<[T; N]> {
    // Provided method
    fn to_array(self) -> [T; N] { ... }
}

Provided 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.

Implementors§

Source§

impl<C, T, const N: usize> ExtensionToArray<T, N> for C
where C: Into<[T; N]>,