pub trait FromScalarArray<const N: usize>: FromScalar {
// Required method
fn from_array(scalars: [Self::Scalar; N]) -> Self;
}
Expand description
Conversion from an array of scalars to a vectorized value.
Required Methods§
Sourcefn from_array(scalars: [Self::Scalar; N]) -> Self
fn from_array(scalars: [Self::Scalar; N]) -> Self
Creates a vectorized value from an array of scalars.
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.