Trait SpecArrayClone

Source
trait SpecArrayClone: Clone {
    // Required method
    fn clone<const N: usize>(array: &[Self; N]) -> [Self; N];
}

Required Methods§

Source

fn clone<const N: usize>(array: &[Self; N]) -> [Self; N]

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§