Trait fearless_simd::F32x4
source · pub trait F32x4: Sized + Copy + Clone + Add<Self, Output = Self> + Mul + Mul<f32, Output = Self> + Deref<Target = [f32; 4]>where
Self::Raw: From<Self>,{
type Raw;
unsafe fn create() -> Self;
unsafe fn from_raw(raw: Self::Raw) -> Self;
fn new(self, array: [f32; 4]) -> Self;
fn as_vec(self) -> [f32; 4];
}
Required Associated Types
Required Methods
sourceunsafe fn create() -> Self
unsafe fn create() -> Self
Create an instance (zero but value is usually ignored). Marked as unsafe because it requires that the corresponding target_feature is enabled.
sourceunsafe fn from_raw(raw: Self::Raw) -> Self
unsafe fn from_raw(raw: Self::Raw) -> Self
Create from a raw value. Marked as unsafe because it requires that the corresponding target_feature is enabled.