#[repr(C, align(16))]pub struct i32x4<S: Simd> {
pub val: [i32; 4],
pub simd: S,
}Fields§
§val: [i32; 4]§simd: SImplementations§
Source§impl<S: Simd> i32x4<S>
impl<S: Simd> i32x4<S>
pub fn not(self) -> i32x4<S>
pub fn add(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn sub(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn mul(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn and(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn or(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn xor(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn shr(self, shift: u32) -> i32x4<S>
pub fn shrv(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn shl(self, shift: u32) -> i32x4<S>
pub fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
pub fn min(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn max(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
pub fn combine(self, rhs: impl SimdInto<Self, S>) -> i32x8<S>
pub fn neg(self) -> i32x4<S>
pub fn reinterpret_u8(self) -> u8x16<S>
pub fn reinterpret_u32(self) -> u32x4<S>
pub fn cvt_f32(self) -> f32x4<S>
Trait Implementations§
Source§impl<S: Simd> AddAssign<i32> for i32x4<S>
impl<S: Simd> AddAssign<i32> for i32x4<S>
Source§fn add_assign(&mut self, rhs: i32)
fn add_assign(&mut self, rhs: i32)
Performs the
+= operation. Read moreSource§impl<S: Simd> AddAssign for i32x4<S>
impl<S: Simd> AddAssign for i32x4<S>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<S: Simd> BitAndAssign<i32> for i32x4<S>
impl<S: Simd> BitAndAssign<i32> for i32x4<S>
Source§fn bitand_assign(&mut self, rhs: i32)
fn bitand_assign(&mut self, rhs: i32)
Performs the
&= operation. Read moreSource§impl<S: Simd> BitAndAssign for i32x4<S>
impl<S: Simd> BitAndAssign for i32x4<S>
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl<S: Simd> BitOrAssign<i32> for i32x4<S>
impl<S: Simd> BitOrAssign<i32> for i32x4<S>
Source§fn bitor_assign(&mut self, rhs: i32)
fn bitor_assign(&mut self, rhs: i32)
Performs the
|= operation. Read moreSource§impl<S: Simd> BitOrAssign for i32x4<S>
impl<S: Simd> BitOrAssign for i32x4<S>
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl<S: Simd> BitXorAssign<i32> for i32x4<S>
impl<S: Simd> BitXorAssign<i32> for i32x4<S>
Source§fn bitxor_assign(&mut self, rhs: i32)
fn bitxor_assign(&mut self, rhs: i32)
Performs the
^= operation. Read moreSource§impl<S: Simd> BitXorAssign for i32x4<S>
impl<S: Simd> BitXorAssign for i32x4<S>
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl<S: Simd> MulAssign<i32> for i32x4<S>
impl<S: Simd> MulAssign<i32> for i32x4<S>
Source§fn mul_assign(&mut self, rhs: i32)
fn mul_assign(&mut self, rhs: i32)
Performs the
*= operation. Read moreSource§impl<S: Simd> MulAssign for i32x4<S>
impl<S: Simd> MulAssign for i32x4<S>
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl<S: Simd> ShlAssign<u32> for i32x4<S>
impl<S: Simd> ShlAssign<u32> for i32x4<S>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
Performs the
<<= operation. Read moreSource§impl<S: Simd> ShrAssign<u32> for i32x4<S>
impl<S: Simd> ShrAssign<u32> for i32x4<S>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
Performs the
>>= operation. Read moreSource§impl<S: Simd> ShrAssign for i32x4<S>
impl<S: Simd> ShrAssign for i32x4<S>
Source§fn shr_assign(&mut self, rhs: Self)
fn shr_assign(&mut self, rhs: Self)
Performs the
>>= operation. Read moreSource§impl<S: Simd> SimdBase<i32, S> for i32x4<S>
impl<S: Simd> SimdBase<i32, S> for i32x4<S>
Source§impl<S: Simd> SimdCvtFloat<i32x4<S>> for f32x4<S>
impl<S: Simd> SimdCvtFloat<i32x4<S>> for f32x4<S>
fn float_from(x: i32x4<S>) -> Self
Source§impl<S: Simd> SimdCvtTruncate<f32x4<S>> for i32x4<S>
impl<S: Simd> SimdCvtTruncate<f32x4<S>> for i32x4<S>
fn truncate_from(x: f32x4<S>) -> Self
Source§impl<S: Simd> SimdInt<i32, S> for i32x4<S>
impl<S: Simd> SimdInt<i32, S> for i32x4<S>
fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask32x4<S>
fn zip_low(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
fn zip_high(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
fn unzip_low(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
fn unzip_high(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
fn min(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
fn max(self, rhs: impl SimdInto<Self, S>) -> i32x4<S>
fn to_float<T: SimdCvtFloat<Self>>(self) -> T
Source§impl<S: Simd> SubAssign<i32> for i32x4<S>
impl<S: Simd> SubAssign<i32> for i32x4<S>
Source§fn sub_assign(&mut self, rhs: i32)
fn sub_assign(&mut self, rhs: i32)
Performs the
-= operation. Read moreSource§impl<S: Simd> SubAssign for i32x4<S>
impl<S: Simd> SubAssign for i32x4<S>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl<S: Copy + Simd> Copy for i32x4<S>
Auto Trait Implementations§
impl<S> Freeze for i32x4<S>where
S: Freeze,
impl<S> RefUnwindSafe for i32x4<S>where
S: RefUnwindSafe,
impl<S> Send for i32x4<S>
impl<S> Sync for i32x4<S>
impl<S> Unpin for i32x4<S>where
S: Unpin,
impl<S> UnwindSafe for i32x4<S>where
S: UnwindSafe,
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