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

Create an instance (zero but value is usually ignored). Marked as unsafe because it requires that the corresponding target_feature is enabled.

Create from a raw value. Marked as unsafe because it requires that the corresponding target_feature is enabled.

Note: self is unused but is needed for safety.

Implementors