#[repr(C, align(32))]pub struct i16x16<S: Simd> {
pub val: [i16; 16],
pub simd: S,
}Fields§
§val: [i16; 16]§simd: SImplementations§
Source§impl<S: Simd> i16x16<S>
impl<S: Simd> i16x16<S>
pub fn not(self) -> i16x16<S>
pub fn add(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn sub(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn mul(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn and(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn or(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn xor(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn shr(self, shift: u32) -> i16x16<S>
pub fn shrv(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn shl(self, shift: u32) -> i16x16<S>
pub fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn min(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn max(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
pub fn combine(self, rhs: impl SimdInto<Self, S>) -> i16x32<S>
pub fn neg(self) -> i16x16<S>
pub fn reinterpret_u8(self) -> u8x32<S>
pub fn reinterpret_u32(self) -> u32x8<S>
Trait Implementations§
Source§impl<S: Simd> AddAssign<i16> for i16x16<S>
impl<S: Simd> AddAssign<i16> for i16x16<S>
Source§fn add_assign(&mut self, rhs: i16)
fn add_assign(&mut self, rhs: i16)
Performs the
+= operation. Read moreSource§impl<S: Simd> AddAssign for i16x16<S>
impl<S: Simd> AddAssign for i16x16<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<i16> for i16x16<S>
impl<S: Simd> BitAndAssign<i16> for i16x16<S>
Source§fn bitand_assign(&mut self, rhs: i16)
fn bitand_assign(&mut self, rhs: i16)
Performs the
&= operation. Read moreSource§impl<S: Simd> BitAndAssign for i16x16<S>
impl<S: Simd> BitAndAssign for i16x16<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<i16> for i16x16<S>
impl<S: Simd> BitOrAssign<i16> for i16x16<S>
Source§fn bitor_assign(&mut self, rhs: i16)
fn bitor_assign(&mut self, rhs: i16)
Performs the
|= operation. Read moreSource§impl<S: Simd> BitOrAssign for i16x16<S>
impl<S: Simd> BitOrAssign for i16x16<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<i16> for i16x16<S>
impl<S: Simd> BitXorAssign<i16> for i16x16<S>
Source§fn bitxor_assign(&mut self, rhs: i16)
fn bitxor_assign(&mut self, rhs: i16)
Performs the
^= operation. Read moreSource§impl<S: Simd> BitXorAssign for i16x16<S>
impl<S: Simd> BitXorAssign for i16x16<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<i16> for i16x16<S>
impl<S: Simd> MulAssign<i16> for i16x16<S>
Source§fn mul_assign(&mut self, rhs: i16)
fn mul_assign(&mut self, rhs: i16)
Performs the
*= operation. Read moreSource§impl<S: Simd> MulAssign for i16x16<S>
impl<S: Simd> MulAssign for i16x16<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 i16x16<S>
impl<S: Simd> ShlAssign<u32> for i16x16<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 i16x16<S>
impl<S: Simd> ShrAssign<u32> for i16x16<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 i16x16<S>
impl<S: Simd> ShrAssign for i16x16<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<i16, S> for i16x16<S>
impl<S: Simd> SimdBase<i16, S> for i16x16<S>
const N: usize = 16usize
fn as_slice(&self) -> &[i16]
fn as_mut_slice(&mut self) -> &mut [i16]
Source§fn from_slice(simd: S, slice: &[i16]) -> Self
fn from_slice(simd: S, slice: &[i16]) -> Self
Create a SIMD vector from a slice. Read more
fn splat(simd: S, val: i16) -> Self
fn block_splat(block: Self::Block) -> Self
Source§impl<S: Simd> SimdInt<i16, S> for i16x16<S>
impl<S: Simd> SimdInt<i16, S> for i16x16<S>
fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
fn zip_low(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
fn zip_high(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
fn unzip_low(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
fn unzip_high(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
fn min(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
fn max(self, rhs: impl SimdInto<Self, S>) -> i16x16<S>
fn to_float<T: SimdCvtFloat<Self>>(self) -> T
Source§impl<S: Simd> SubAssign<i16> for i16x16<S>
impl<S: Simd> SubAssign<i16> for i16x16<S>
Source§fn sub_assign(&mut self, rhs: i16)
fn sub_assign(&mut self, rhs: i16)
Performs the
-= operation. Read moreSource§impl<S: Simd> SubAssign for i16x16<S>
impl<S: Simd> SubAssign for i16x16<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 i16x16<S>
Auto Trait Implementations§
impl<S> Freeze for i16x16<S>where
S: Freeze,
impl<S> RefUnwindSafe for i16x16<S>where
S: RefUnwindSafe,
impl<S> Send for i16x16<S>
impl<S> Sync for i16x16<S>
impl<S> Unpin for i16x16<S>where
S: Unpin,
impl<S> UnwindSafe for i16x16<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