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