pub trait Vec4fBase: SIMDBase<4> + SIMDFloat { // Required method fn new(v0: f32, v1: f32, v2: f32, v3: f32) -> Self; }
Base trait for Vec4f: a SIMD vector with four elements of type f32.
Vec4f
f32
Initializes elements of returned vector with given values.
assert_eq!( Vec4f::new(1.0, 2.0, 3.0, 4.0), [1.0, 2.0, 3.0, 4.0].into() );