Skip to main content

ToArray4

Trait ToArray4 

Source
pub trait ToArray4<T>: Into<[T; 4]> {
    // Provided method
    fn to_array4(self) -> [T; 4] { ... }
}

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> ToArray4<T> for C
where C: Into<[T; 4]>,