Trait ExtensionToArray1

Source
pub trait ExtensionToArray1<T>: Into<[T; 1]> {
    // Provided method
    fn to_array1(self) -> [T; 1] { ... }
}

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