pub struct i16x32 { /* private fields */ }Implementations§
Source§impl i16x32
impl i16x32
pub const fn new(array: [i16; 32]) -> Self
pub fn simd_eq(self, rhs: Self) -> Self
pub fn simd_gt(self, rhs: Self) -> Self
pub fn simd_lt(self, rhs: Self) -> Self
pub fn blend(self, t: Self, f: Self) -> Self
Sourcepub fn reduce_add(self) -> i16
pub fn reduce_add(self) -> i16
horizontal add of all the elements of the vector
Sourcepub fn reduce_min(self) -> i16
pub fn reduce_min(self) -> i16
horizontal min of all the elements of the vector
Sourcepub fn reduce_max(self) -> i16
pub fn reduce_max(self) -> i16
horizontal max of all the elements of the vector
pub fn abs(self) -> Self
pub fn min(self, rhs: Self) -> Self
pub fn max(self, rhs: Self) -> Self
pub fn saturating_add(self, rhs: Self) -> Self
pub fn saturating_sub(self, rhs: Self) -> Self
Sourcepub fn dot(self, rhs: Self) -> i32x16
pub fn dot(self, rhs: Self) -> i32x16
Calculates partial dot product. Multiplies packed signed 16-bit integers, producing intermediate signed 32-bit integers. Horizontally add adjacent pairs of intermediate 32-bit integers.
pub fn to_bitmask(self) -> u32
pub fn to_array(self) -> [i16; 32]
pub fn as_array(&self) -> &[i16; 32]
pub fn as_mut_array(&mut self) -> &mut [i16; 32]
Trait Implementations§
Source§impl AddAssign<&i16x32> for i16x32
impl AddAssign<&i16x32> for i16x32
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the
+= operation. Read moreSource§impl AddAssign for i16x32
impl AddAssign for i16x32
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl BitAndAssign<&i16x32> for i16x32
impl BitAndAssign<&i16x32> for i16x32
Source§fn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
Performs the
&= operation. Read moreSource§impl BitAndAssign for i16x32
impl BitAndAssign for i16x32
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign<&i16x32> for i16x32
impl BitOrAssign<&i16x32> for i16x32
Source§fn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
Performs the
|= operation. Read moreSource§impl BitOrAssign for i16x32
impl BitOrAssign for i16x32
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign<&i16x32> for i16x32
impl BitXorAssign<&i16x32> for i16x32
Source§fn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
Performs the
^= operation. Read moreSource§impl BitXorAssign for i16x32
impl BitXorAssign for i16x32
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl MulAssign<&i16x32> for i16x32
impl MulAssign<&i16x32> for i16x32
Source§fn mul_assign(&mut self, rhs: &Self)
fn mul_assign(&mut self, rhs: &Self)
Performs the
*= operation. Read moreSource§impl MulAssign for i16x32
impl MulAssign for i16x32
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl SubAssign<&i16x32> for i16x32
impl SubAssign<&i16x32> for i16x32
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the
-= operation. Read moreSource§impl SubAssign for i16x32
impl SubAssign for i16x32
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for i16x32
impl Eq for i16x32
impl Pod for i16x32
impl StructuralPartialEq for i16x32
Auto Trait Implementations§
impl Freeze for i16x32
impl RefUnwindSafe for i16x32
impl Send for i16x32
impl Sync for i16x32
impl Unpin for i16x32
impl UnwindSafe for i16x32
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.