Skip to main content

ToArray3

Trait ToArray3 

Source
pub trait ToArray3<T>: Into<[T; 3]> {
    // Provided method
    fn to_array3(self) -> [T; 3] { ... }
}

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