#[repr(packed(1))]pub struct f32x4(/* private fields */);Implementations§
Source§impl f32x4
impl f32x4
Sourcepub fn from_slice_aligned(slice: &[f32]) -> Self
pub fn from_slice_aligned(slice: &[f32]) -> Self
Instantiates a new vector with the values of the slice.
Sourcepub fn from_slice_unaligned(slice: &[f32]) -> Self
pub fn from_slice_unaligned(slice: &[f32]) -> Self
Instantiates a new vector with the values of the slice.
Sourcepub unsafe fn from_slice_aligned_unchecked(slice: &[f32]) -> Self
pub unsafe fn from_slice_aligned_unchecked(slice: &[f32]) -> Self
Instantiates a new vector with the values of the slice.
Sourcepub unsafe fn from_slice_unaligned_unchecked(slice: &[f32]) -> Self
pub unsafe fn from_slice_unaligned_unchecked(slice: &[f32]) -> Self
Instantiates a new vector with the values of the slice.
Sourcepub fn write_to_slice_aligned(self, slice: &mut [f32])
pub fn write_to_slice_aligned(self, slice: &mut [f32])
Writes the values of the vector to the slice.
Sourcepub fn write_to_slice_unaligned(self, slice: &mut [f32])
pub fn write_to_slice_unaligned(self, slice: &mut [f32])
Writes the values of the vector to the slice.
Sourcepub unsafe fn write_to_slice_aligned_unchecked(self, slice: &mut [f32])
pub unsafe fn write_to_slice_aligned_unchecked(self, slice: &mut [f32])
Writes the values of the vector to the slice.
Sourcepub unsafe fn write_to_slice_unaligned_unchecked(self, slice: &mut [f32])
pub unsafe fn write_to_slice_unaligned_unchecked(self, slice: &mut [f32])
Writes the values of the vector to the slice.
Source§impl f32x4
impl f32x4
Sourcepub fn approx_rsqrt(self) -> Self
pub fn approx_rsqrt(self) -> Self
Get reciprocal of square root
Sourcepub fn approx_reciprocal(self) -> Self
pub fn approx_reciprocal(self) -> Self
Get reciprocal
Trait Implementations§
impl Copy for f32x4
Auto Trait Implementations§
impl Freeze for f32x4
impl RefUnwindSafe for f32x4
impl Send for f32x4
impl Sync for f32x4
impl Unpin for f32x4
impl UnwindSafe for f32x4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more