#[repr(simd)]pub struct int32x2_t(pub(crate) [i32; 2]);
Expand description
Arm-specific 64-bit wide vector of two packed i32
.
Tuple Fields§
§0: [i32; 2]
Implementations§
Source§impl int32x2_t
impl int32x2_t
Sourcepub(crate) fn splat(value: i32) -> int32x2_t
pub(crate) fn splat(value: i32) -> int32x2_t
Using my_simd([x; N])
seemingly fails tests,
so use this internal helper for it instead.
Sourcepub(crate) const fn as_array(&self) -> &[i32; 2]
pub(crate) const fn as_array(&self) -> &[i32; 2]
Returns an array reference containing the entire SIMD vector.
Sourcepub(crate) fn as_mut_array(&mut self) -> &mut [i32; 2]
pub(crate) fn as_mut_array(&mut self) -> &mut [i32; 2]
Returns a mutable array reference containing the entire SIMD vector.
Trait Implementations§
Source§impl AsSigned for int32x2_t
impl AsSigned for int32x2_t
type Signed = uint32x2_t
fn as_signed(self) -> uint32x2_t
Source§impl AsUnsigned for int32x2_t
impl AsUnsigned for int32x2_t
type Unsigned = uint32x2_t
fn as_unsigned(self) -> uint32x2_t
impl Copy for int32x2_t
Auto Trait Implementations§
impl Freeze for int32x2_t
impl RefUnwindSafe for int32x2_t
impl Send for int32x2_t
impl Sync for int32x2_t
impl Unpin for int32x2_t
impl UnsafeUnpin for int32x2_t
impl UnwindSafe for int32x2_t
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more