#[repr(simd)]pub(crate) struct i32x32([i32; 32]);
Tuple Fields§
§0: [i32; 32]
Implementations§
Source§impl i32x32
impl i32x32
pub(crate) const fn new( x0: i32, x1: i32, x2: i32, x3: i32, x4: i32, x5: i32, x6: i32, x7: i32, x8: i32, x9: i32, x10: i32, x11: i32, x12: i32, x13: i32, x14: i32, x15: i32, x16: i32, x17: i32, x18: i32, x19: i32, x20: i32, x21: i32, x22: i32, x23: i32, x24: i32, x25: i32, x26: i32, x27: i32, x28: i32, x29: i32, x30: i32, x31: i32, ) -> Self
pub(crate) const fn from_array(elements: [i32; 32]) -> Self
pub(crate) fn splat(value: i32) -> Self
Sourcepub(crate) fn extract(&self, index: usize) -> i32
pub(crate) fn extract(&self, index: usize) -> i32
Extract the element at position index
.
index
is not a constant so this is not efficient!
Use for testing only.
pub(crate) fn as_array(&self) -> &[i32; 32]
Trait Implementations§
impl Copy for i32x32
Auto Trait Implementations§
impl Freeze for i32x32
impl RefUnwindSafe for i32x32
impl Send for i32x32
impl Sync for i32x32
impl Unpin for i32x32
impl UnsafeUnpin for i32x32
impl UnwindSafe for i32x32
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