Trait palette::num::IntoScalarArray
source · 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.
Object Safety§
This trait is not object safe.