Struct float32x2_t

#[repr(simd)]
pub struct float32x2_t(pub(crate) [f32; 2]);

Arm-specific 64-bit wide vector of two packed f32.

Fields

0: [f32; 2]

Implementations

impl float32x2_t

fn splat(value: f32) -> float32x2_t

Put the same value in every lane.

const fn as_array(&self) -> &[f32; 2]

Returns an array reference containing the entire SIMD vector.

fn as_mut_array(&mut self) -> &mut [f32; 2]

Returns a mutable array reference containing the entire SIMD vector.

Trait Implementations

impl Clone for float32x2_t

fn clone(&self) -> float32x2_t

impl Copy for float32x2_t

impl Debug for float32x2_t

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl From<Simd<f32, 2>> for float32x2_t

fn from(simd: Simd<f32, 2>) -> Self

impl TrivialClone for float32x2_t

Auto Trait Implementations

impl Freeze for float32x2_t

impl RefUnwindSafe for float32x2_t

impl Send for float32x2_t

impl Sync for float32x2_t

impl Unpin for float32x2_t

impl UnsafeUnpin for float32x2_t

impl UnwindSafe for float32x2_t

Blanket Implementations

impl<T> Any for float32x2_t where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for float32x2_t where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for float32x2_t where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for float32x2_t where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for float32x2_t

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Printable for float32x2_t where T: Copy + Debug,

impl<T> SizeHint for float32x2_t where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for float32x2_t

impl<T, U> Into<U> for float32x2_t where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for float32x2_t where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for float32x2_t where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>