Struct std::simd::i16x16 [−][src]
#[repr(simd)]pub struct i16x16(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _);
A 256-bit vector with 16 i16
lanes.
Methods
impl i16x16
[src]
impl i16x16
pub const fn new(
x0: i16,
x1: i16,
x2: i16,
x3: i16,
x4: i16,
x5: i16,
x6: i16,
x7: i16,
x8: i16,
x9: i16,
x10: i16,
x11: i16,
x12: i16,
x13: i16,
x14: i16,
x15: i16
) -> i16x16
[src]
pub const fn new(
x0: i16,
x1: i16,
x2: i16,
x3: i16,
x4: i16,
x5: i16,
x6: i16,
x7: i16,
x8: i16,
x9: i16,
x10: i16,
x11: i16,
x12: i16,
x13: i16,
x14: i16,
x15: i16
) -> i16x16
Creates a new instance with each vector elements initialized with the provided values.
pub const fn lanes() -> usize
[src]
pub const fn lanes() -> usize
Returns the number of vector lanes.
pub const fn splat(value: i16) -> i16x16
[src]
pub const fn splat(value: i16) -> i16x16
Constructs a new instance with each element initialized to
value
.
pub fn extract(self, index: usize) -> i16
[src]
pub fn extract(self, index: usize) -> i16
pub unsafe fn extract_unchecked(self, index: usize) -> i16
[src]
pub unsafe fn extract_unchecked(self, index: usize) -> i16
pub fn replace(self, index: usize, new_value: i16) -> i16x16
[src]
pub fn replace(self, index: usize, new_value: i16) -> i16x16
Returns a new vector where the value at index
is replaced by new_value
.
Panics
If index >= Self::lanes()
.
pub unsafe fn replace_unchecked(self, index: usize, new_value: i16) -> i16x16
[src]
pub unsafe fn replace_unchecked(self, index: usize, new_value: i16) -> i16x16
Returns a new vector where the value at index
is replaced by new_value
.
Precondition
If index >= Self::lanes()
the behavior is undefined.
impl i16x16
[src]
impl i16x16
pub fn store_aligned(self, slice: &mut [i16])
[src]
pub fn store_aligned(self, slice: &mut [i16])
Writes the values of the vector to the slice
.
Panics
If slice.len() < Self::lanes()
or &slice[0]
is not
aligned to an align_of::<Self>()
boundary.
pub fn store_unaligned(self, slice: &mut [i16])
[src]
pub fn store_unaligned(self, slice: &mut [i16])
pub unsafe fn store_aligned_unchecked(self, slice: &mut [i16])
[src]
pub unsafe fn store_aligned_unchecked(self, slice: &mut [i16])
Writes the values of the vector to the slice
.
Precondition
If slice.len() < Self::lanes()
or &slice[0]
is not
aligned to an align_of::<Self>()
boundary, the behavior is
undefined.
pub unsafe fn store_unaligned_unchecked(self, slice: &mut [i16])
[src]
pub unsafe fn store_unaligned_unchecked(self, slice: &mut [i16])
Writes the values of the vector to the slice
.
Precondition
If slice.len() < Self::lanes()
the behavior is undefined.
pub fn load_aligned(slice: &[i16]) -> i16x16
[src]
pub fn load_aligned(slice: &[i16]) -> i16x16
Instantiates a new vector with the values of the slice
.
Panics
If slice.len() < Self::lanes()
or &slice[0]
is not aligned
to an align_of::<Self>()
boundary.
pub fn load_unaligned(slice: &[i16]) -> i16x16
[src]
pub fn load_unaligned(slice: &[i16]) -> i16x16
pub unsafe fn load_aligned_unchecked(slice: &[i16]) -> i16x16
[src]
pub unsafe fn load_aligned_unchecked(slice: &[i16]) -> i16x16
Instantiates a new vector with the values of the slice
.
Precondition
If slice.len() < Self::lanes()
or &slice[0]
is not aligned
to an align_of::<Self>()
boundary, the behavior is undefined.
pub unsafe fn load_unaligned_unchecked(slice: &[i16]) -> i16x16
[src]
pub unsafe fn load_unaligned_unchecked(slice: &[i16]) -> i16x16
Instantiates a new vector with the values of the slice
.
Precondition
If slice.len() < Self::lanes()
the behavior is undefined.
impl i16x16
[src]
impl i16x16
pub fn eq(self, other: i16x16) -> m16x16
[src]
pub fn eq(self, other: i16x16) -> m16x16
Lane-wise equality comparison.
pub fn ne(self, other: i16x16) -> m16x16
[src]
pub fn ne(self, other: i16x16) -> m16x16
Lane-wise inequality comparison.
pub fn lt(self, other: i16x16) -> m16x16
[src]
pub fn lt(self, other: i16x16) -> m16x16
Lane-wise less-than comparison.
pub fn le(self, other: i16x16) -> m16x16
[src]
pub fn le(self, other: i16x16) -> m16x16
Lane-wise less-than-or-equals comparison.
pub fn gt(self, other: i16x16) -> m16x16
[src]
pub fn gt(self, other: i16x16) -> m16x16
Lane-wise greater-than comparison.
pub fn ge(self, other: i16x16) -> m16x16
[src]
pub fn ge(self, other: i16x16) -> m16x16
Lane-wise greater-than-or-equals comparison.
impl i16x16
[src]
impl i16x16
pub fn wrapping_sum(self) -> i16
[src]
pub fn wrapping_sum(self) -> i16
Horizontal sum of the vector elements.
The intrinsic performs a tree-reduction of the vector elements. That is, for an 8 element vector:
((x0 + x1) + (x2 + x3)) + ((x4 + x5) + (x6 + x7))
Integer vectors
If an operation overflows it returns the mathematical result
modulo 2^n
where n
is the number of times it overflows.
Floating-point vectors
If one of the vector element is NaN
the reduction returns
NaN
.
pub fn wrapping_product(self) -> i16
[src]
pub fn wrapping_product(self) -> i16
Horizontal product of the vector elements.
The intrinsic performs a tree-reduction of the vector elements. That is, for an 8 element vector:
((x0 * x1) * (x2 * x3)) * ((x4 * x5) * (x6 * x7))
Integer vectors
If an operation overflows it returns the mathematical result
modulo 2^n
where n
is the number of times it overflows.
Floating-point vectors
If one of the vector element is NaN
the reduction returns
NaN
.
impl i16x16
[src]
impl i16x16
pub fn max_element(self) -> i16
[src]
pub fn max_element(self) -> i16
Largest vector element value.
pub fn min_element(self) -> i16
[src]
pub fn min_element(self) -> i16
Smallest vector element value.
impl i16x16
[src]
impl i16x16
pub fn and(self) -> i16
[src]
pub fn and(self) -> i16
Lane-wise bitwise and
of the vector elements.
pub fn or(self) -> i16
[src]
pub fn or(self) -> i16
Lane-wise bitwise or
of the vector elements.
pub fn xor(self) -> i16
[src]
pub fn xor(self) -> i16
Lane-wise bitwise xor
of the vector elements.
impl i16x16
[src]
impl i16x16
pub fn min(self, x: i16x16) -> i16x16
[src]
pub fn min(self, x: i16x16) -> i16x16
Minimum of two vectors.
Returns a new vector containing the minimum value of each of the input vector lanes.
pub fn max(self, x: i16x16) -> i16x16
[src]
pub fn max(self, x: i16x16) -> i16x16
Maximum of two vectors.
Returns a new vector containing the minimum value of each of the input vector lanes.
Trait Implementations
impl Add<i16> for i16x16
[src]
impl Add<i16> for i16x16
type Output = i16x16
The resulting type after applying the +
operator.
fn add(self, other: i16) -> i16x16
[src]
fn add(self, other: i16) -> i16x16
Performs the +
operation.
impl Add<i16x16> for i16
[src]
impl Add<i16x16> for i16
type Output = i16x16
The resulting type after applying the +
operator.
fn add(self, other: i16x16) -> i16x16
[src]
fn add(self, other: i16x16) -> i16x16
Performs the +
operation.
impl Add<i16x16> for i16x16
[src]
impl Add<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the +
operator.
fn add(self, other: i16x16) -> i16x16
[src]
fn add(self, other: i16x16) -> i16x16
Performs the +
operation.
impl BitOr<i16x16> for i16
[src]
impl BitOr<i16x16> for i16
type Output = i16x16
The resulting type after applying the |
operator.
fn bitor(self, other: i16x16) -> i16x16
[src]
fn bitor(self, other: i16x16) -> i16x16
Performs the |
operation.
impl BitOr<i16> for i16x16
[src]
impl BitOr<i16> for i16x16
type Output = i16x16
The resulting type after applying the |
operator.
fn bitor(self, other: i16) -> i16x16
[src]
fn bitor(self, other: i16) -> i16x16
Performs the |
operation.
impl BitOr<i16x16> for i16x16
[src]
impl BitOr<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the |
operator.
fn bitor(self, other: i16x16) -> i16x16
[src]
fn bitor(self, other: i16x16) -> i16x16
Performs the |
operation.
impl Hash for i16x16
[src]
impl Hash for i16x16
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl RemAssign<i16> for i16x16
[src]
impl RemAssign<i16> for i16x16
fn rem_assign(&mut self, other: i16)
[src]
fn rem_assign(&mut self, other: i16)
Performs the %=
operation.
impl RemAssign<i16x16> for i16x16
[src]
impl RemAssign<i16x16> for i16x16
fn rem_assign(&mut self, other: i16x16)
[src]
fn rem_assign(&mut self, other: i16x16)
Performs the %=
operation.
impl DivAssign<i16> for i16x16
[src]
impl DivAssign<i16> for i16x16
fn div_assign(&mut self, other: i16)
[src]
fn div_assign(&mut self, other: i16)
Performs the /=
operation.
impl DivAssign<i16x16> for i16x16
[src]
impl DivAssign<i16x16> for i16x16
fn div_assign(&mut self, other: i16x16)
[src]
fn div_assign(&mut self, other: i16x16)
Performs the /=
operation.
impl MulAssign<i16x16> for i16x16
[src]
impl MulAssign<i16x16> for i16x16
fn mul_assign(&mut self, other: i16x16)
[src]
fn mul_assign(&mut self, other: i16x16)
Performs the *=
operation.
impl MulAssign<i16> for i16x16
[src]
impl MulAssign<i16> for i16x16
fn mul_assign(&mut self, other: i16)
[src]
fn mul_assign(&mut self, other: i16)
Performs the *=
operation.
impl SubAssign<i16x16> for i16x16
[src]
impl SubAssign<i16x16> for i16x16
fn sub_assign(&mut self, other: i16x16)
[src]
fn sub_assign(&mut self, other: i16x16)
Performs the -=
operation.
impl SubAssign<i16> for i16x16
[src]
impl SubAssign<i16> for i16x16
fn sub_assign(&mut self, other: i16)
[src]
fn sub_assign(&mut self, other: i16)
Performs the -=
operation.
impl FromBits<i32x8> for i16x16
[src]
impl FromBits<i32x8> for i16x16
impl FromBits<u64x4> for i16x16
[src]
impl FromBits<u64x4> for i16x16
impl FromBits<__m256> for i16x16
[src]
impl FromBits<__m256> for i16x16
impl FromBits<f32x8> for i16x16
[src]
impl FromBits<f32x8> for i16x16
impl FromBits<u16x16> for i16x16
[src]
impl FromBits<u16x16> for i16x16
impl FromBits<i16x16> for u16x16
[src]
impl FromBits<i16x16> for u16x16
impl FromBits<__m256d> for i16x16
[src]
impl FromBits<__m256d> for i16x16
impl FromBits<i64x4> for i16x16
[src]
impl FromBits<i64x4> for i16x16
impl FromBits<u8x32> for i16x16
[src]
impl FromBits<u8x32> for i16x16
impl FromBits<i16x16> for f32x8
[src]
impl FromBits<i16x16> for f32x8
impl FromBits<i16x16> for i8x32
[src]
impl FromBits<i16x16> for i8x32
impl FromBits<i16x16> for u64x4
[src]
impl FromBits<i16x16> for u64x4
impl FromBits<m8x32> for i16x16
[src]
impl FromBits<m8x32> for i16x16
impl FromBits<i16x16> for i64x4
[src]
impl FromBits<i16x16> for i64x4
impl FromBits<i16x16> for u32x8
[src]
impl FromBits<i16x16> for u32x8
impl FromBits<i16x16> for f64x4
[src]
impl FromBits<i16x16> for f64x4
impl FromBits<m64x4> for i16x16
[src]
impl FromBits<m64x4> for i16x16
impl FromBits<m32x8> for i16x16
[src]
impl FromBits<m32x8> for i16x16
impl FromBits<i16x16> for u8x32
[src]
impl FromBits<i16x16> for u8x32
impl FromBits<i16x16> for i32x8
[src]
impl FromBits<i16x16> for i32x8
impl FromBits<i8x32> for i16x16
[src]
impl FromBits<i8x32> for i16x16
impl FromBits<__m256i> for i16x16
[src]
impl FromBits<__m256i> for i16x16
impl FromBits<u32x8> for i16x16
[src]
impl FromBits<u32x8> for i16x16
impl FromBits<m16x16> for i16x16
[src]
impl FromBits<m16x16> for i16x16
impl FromBits<f64x4> for i16x16
[src]
impl FromBits<f64x4> for i16x16
impl From<u8x16> for i16x16
[src]
impl From<u8x16> for i16x16
impl From<m1x16> for i16x16
[src]
impl From<m1x16> for i16x16
impl From<i32x16> for i16x16
[src]
impl From<i32x16> for i16x16
impl From<u16x16> for i16x16
[src]
impl From<u16x16> for i16x16
impl From<f32x16> for i16x16
[src]
impl From<f32x16> for i16x16
impl From<u32x16> for i16x16
[src]
impl From<u32x16> for i16x16
impl From<m16x16> for i16x16
[src]
impl From<m16x16> for i16x16
impl From<i16x16> for i32x16
[src]
impl From<i16x16> for i32x16
impl From<i16x16> for u8x16
[src]
impl From<i16x16> for u8x16
impl From<i16x16> for u16x16
[src]
impl From<i16x16> for u16x16
impl From<i16x16> for u32x16
[src]
impl From<i16x16> for u32x16
impl From<m8x16> for i16x16
[src]
impl From<m8x16> for i16x16
impl From<i8x16> for i16x16
[src]
impl From<i8x16> for i16x16
impl From<i16x16> for f32x16
[src]
impl From<i16x16> for f32x16
impl From<i16x16> for i8x16
[src]
impl From<i16x16> for i8x16
impl AddAssign<i16> for i16x16
[src]
impl AddAssign<i16> for i16x16
fn add_assign(&mut self, other: i16)
[src]
fn add_assign(&mut self, other: i16)
Performs the +=
operation.
impl AddAssign<i16x16> for i16x16
[src]
impl AddAssign<i16x16> for i16x16
fn add_assign(&mut self, other: i16x16)
[src]
fn add_assign(&mut self, other: i16x16)
Performs the +=
operation.
impl Neg for i16x16
[src]
impl Neg for i16x16
type Output = i16x16
The resulting type after applying the -
operator.
fn neg(self) -> i16x16
[src]
fn neg(self) -> i16x16
Performs the unary -
operation.
impl ShrAssign<i16x16> for i16x16
[src]
impl ShrAssign<i16x16> for i16x16
fn shr_assign(&mut self, other: i16x16)
[src]
fn shr_assign(&mut self, other: i16x16)
Performs the >>=
operation.
impl ShrAssign<u16> for i16x16
[src]
impl ShrAssign<u16> for i16x16
fn shr_assign(&mut self, other: u16)
[src]
fn shr_assign(&mut self, other: u16)
Performs the >>=
operation.
impl ShrAssign<u8> for i16x16
[src]
impl ShrAssign<u8> for i16x16
fn shr_assign(&mut self, other: u8)
[src]
fn shr_assign(&mut self, other: u8)
Performs the >>=
operation.
impl ShrAssign<i64> for i16x16
[src]
impl ShrAssign<i64> for i16x16
fn shr_assign(&mut self, other: i64)
[src]
fn shr_assign(&mut self, other: i64)
Performs the >>=
operation.
impl ShrAssign<usize> for i16x16
[src]
impl ShrAssign<usize> for i16x16
fn shr_assign(&mut self, other: usize)
[src]
fn shr_assign(&mut self, other: usize)
Performs the >>=
operation.
impl ShrAssign<u64> for i16x16
[src]
impl ShrAssign<u64> for i16x16
fn shr_assign(&mut self, other: u64)
[src]
fn shr_assign(&mut self, other: u64)
Performs the >>=
operation.
impl ShrAssign<i8> for i16x16
[src]
impl ShrAssign<i8> for i16x16
fn shr_assign(&mut self, other: i8)
[src]
fn shr_assign(&mut self, other: i8)
Performs the >>=
operation.
impl ShrAssign<i32> for i16x16
[src]
impl ShrAssign<i32> for i16x16
fn shr_assign(&mut self, other: i32)
[src]
fn shr_assign(&mut self, other: i32)
Performs the >>=
operation.
impl ShrAssign<i16> for i16x16
[src]
impl ShrAssign<i16> for i16x16
fn shr_assign(&mut self, other: i16)
[src]
fn shr_assign(&mut self, other: i16)
Performs the >>=
operation.
impl ShrAssign<isize> for i16x16
[src]
impl ShrAssign<isize> for i16x16
fn shr_assign(&mut self, other: isize)
[src]
fn shr_assign(&mut self, other: isize)
Performs the >>=
operation.
impl ShrAssign<u32> for i16x16
[src]
impl ShrAssign<u32> for i16x16
fn shr_assign(&mut self, other: u32)
[src]
fn shr_assign(&mut self, other: u32)
Performs the >>=
operation.
impl LowerHex for i16x16
[src]
impl LowerHex for i16x16
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Sub<i16x16> for i16x16
[src]
impl Sub<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the -
operator.
fn sub(self, other: i16x16) -> i16x16
[src]
fn sub(self, other: i16x16) -> i16x16
Performs the -
operation.
impl Sub<i16> for i16x16
[src]
impl Sub<i16> for i16x16
type Output = i16x16
The resulting type after applying the -
operator.
fn sub(self, other: i16) -> i16x16
[src]
fn sub(self, other: i16) -> i16x16
Performs the -
operation.
impl Sub<i16x16> for i16
[src]
impl Sub<i16x16> for i16
type Output = i16x16
The resulting type after applying the -
operator.
fn sub(self, other: i16x16) -> i16x16
[src]
fn sub(self, other: i16x16) -> i16x16
Performs the -
operation.
impl Shr<i16x16> for i16x16
[src]
impl Shr<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: i16x16) -> i16x16
[src]
fn shr(self, other: i16x16) -> i16x16
Performs the >>
operation.
impl Shr<u8> for i16x16
[src]
impl Shr<u8> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: u8) -> i16x16
[src]
fn shr(self, other: u8) -> i16x16
Performs the >>
operation.
impl Shr<i32> for i16x16
[src]
impl Shr<i32> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: i32) -> i16x16
[src]
fn shr(self, other: i32) -> i16x16
Performs the >>
operation.
impl Shr<u32> for i16x16
[src]
impl Shr<u32> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: u32) -> i16x16
[src]
fn shr(self, other: u32) -> i16x16
Performs the >>
operation.
impl Shr<usize> for i16x16
[src]
impl Shr<usize> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: usize) -> i16x16
[src]
fn shr(self, other: usize) -> i16x16
Performs the >>
operation.
impl Shr<i64> for i16x16
[src]
impl Shr<i64> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: i64) -> i16x16
[src]
fn shr(self, other: i64) -> i16x16
Performs the >>
operation.
impl Shr<u16> for i16x16
[src]
impl Shr<u16> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: u16) -> i16x16
[src]
fn shr(self, other: u16) -> i16x16
Performs the >>
operation.
impl Shr<u64> for i16x16
[src]
impl Shr<u64> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: u64) -> i16x16
[src]
fn shr(self, other: u64) -> i16x16
Performs the >>
operation.
impl Shr<i16> for i16x16
[src]
impl Shr<i16> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: i16) -> i16x16
[src]
fn shr(self, other: i16) -> i16x16
Performs the >>
operation.
impl Shr<isize> for i16x16
[src]
impl Shr<isize> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: isize) -> i16x16
[src]
fn shr(self, other: isize) -> i16x16
Performs the >>
operation.
impl Shr<i8> for i16x16
[src]
impl Shr<i8> for i16x16
type Output = i16x16
The resulting type after applying the >>
operator.
fn shr(self, other: i8) -> i16x16
[src]
fn shr(self, other: i8) -> i16x16
Performs the >>
operation.
impl Clone for i16x16
[src]
impl Clone for i16x16
fn clone(&self) -> i16x16
[src]
fn clone(&self) -> i16x16
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialOrd<i16x16> for i16x16
[src]
impl PartialOrd<i16x16> for i16x16
fn partial_cmp(&self, other: &i16x16) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &i16x16) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &i16x16) -> bool
[src]
fn lt(&self, other: &i16x16) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &i16x16) -> bool
[src]
fn le(&self, other: &i16x16) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &i16x16) -> bool
[src]
fn gt(&self, other: &i16x16) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &i16x16) -> bool
[src]
fn ge(&self, other: &i16x16) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl BitXor<i16x16> for i16
[src]
impl BitXor<i16x16> for i16
type Output = i16x16
The resulting type after applying the ^
operator.
fn bitxor(self, other: i16x16) -> i16x16
[src]
fn bitxor(self, other: i16x16) -> i16x16
Performs the ^
operation.
impl BitXor<i16> for i16x16
[src]
impl BitXor<i16> for i16x16
type Output = i16x16
The resulting type after applying the ^
operator.
fn bitxor(self, other: i16) -> i16x16
[src]
fn bitxor(self, other: i16) -> i16x16
Performs the ^
operation.
impl BitXor<i16x16> for i16x16
[src]
impl BitXor<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the ^
operator.
fn bitxor(self, other: i16x16) -> i16x16
[src]
fn bitxor(self, other: i16x16) -> i16x16
Performs the ^
operation.
impl Not for i16x16
[src]
impl Not for i16x16
type Output = i16x16
The resulting type after applying the !
operator.
fn not(self) -> i16x16
[src]
fn not(self) -> i16x16
Performs the unary !
operation.
impl Copy for i16x16
[src]
impl Copy for i16x16
impl Eq for i16x16
[src]
impl Eq for i16x16
impl PartialEq<i16x16> for i16x16
[src]
impl PartialEq<i16x16> for i16x16
fn eq(&self, other: &i16x16) -> bool
[src]
fn eq(&self, other: &i16x16) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &i16x16) -> bool
[src]
fn ne(&self, other: &i16x16) -> bool
This method tests for !=
.
impl Rem<i16x16> for i16
[src]
impl Rem<i16x16> for i16
type Output = i16x16
The resulting type after applying the %
operator.
fn rem(self, other: i16x16) -> i16x16
[src]
fn rem(self, other: i16x16) -> i16x16
Performs the %
operation.
impl Rem<i16> for i16x16
[src]
impl Rem<i16> for i16x16
type Output = i16x16
The resulting type after applying the %
operator.
fn rem(self, other: i16) -> i16x16
[src]
fn rem(self, other: i16) -> i16x16
Performs the %
operation.
impl Rem<i16x16> for i16x16
[src]
impl Rem<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the %
operator.
fn rem(self, other: i16x16) -> i16x16
[src]
fn rem(self, other: i16x16) -> i16x16
Performs the %
operation.
impl Binary for i16x16
[src]
impl Binary for i16x16
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Mul<i16x16> for i16x16
[src]
impl Mul<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the *
operator.
fn mul(self, other: i16x16) -> i16x16
[src]
fn mul(self, other: i16x16) -> i16x16
Performs the *
operation.
impl Mul<i16> for i16x16
[src]
impl Mul<i16> for i16x16
type Output = i16x16
The resulting type after applying the *
operator.
fn mul(self, other: i16) -> i16x16
[src]
fn mul(self, other: i16) -> i16x16
Performs the *
operation.
impl Mul<i16x16> for i16
[src]
impl Mul<i16x16> for i16
type Output = i16x16
The resulting type after applying the *
operator.
fn mul(self, other: i16x16) -> i16x16
[src]
fn mul(self, other: i16x16) -> i16x16
Performs the *
operation.
impl Debug for i16x16
[src]
impl Debug for i16x16
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Shl<i64> for i16x16
[src]
impl Shl<i64> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: i64) -> i16x16
[src]
fn shl(self, other: i64) -> i16x16
Performs the <<
operation.
impl Shl<u32> for i16x16
[src]
impl Shl<u32> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: u32) -> i16x16
[src]
fn shl(self, other: u32) -> i16x16
Performs the <<
operation.
impl Shl<isize> for i16x16
[src]
impl Shl<isize> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: isize) -> i16x16
[src]
fn shl(self, other: isize) -> i16x16
Performs the <<
operation.
impl Shl<u64> for i16x16
[src]
impl Shl<u64> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: u64) -> i16x16
[src]
fn shl(self, other: u64) -> i16x16
Performs the <<
operation.
impl Shl<usize> for i16x16
[src]
impl Shl<usize> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: usize) -> i16x16
[src]
fn shl(self, other: usize) -> i16x16
Performs the <<
operation.
impl Shl<i16x16> for i16x16
[src]
impl Shl<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: i16x16) -> i16x16
[src]
fn shl(self, other: i16x16) -> i16x16
Performs the <<
operation.
impl Shl<u16> for i16x16
[src]
impl Shl<u16> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: u16) -> i16x16
[src]
fn shl(self, other: u16) -> i16x16
Performs the <<
operation.
impl Shl<i16> for i16x16
[src]
impl Shl<i16> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: i16) -> i16x16
[src]
fn shl(self, other: i16) -> i16x16
Performs the <<
operation.
impl Shl<i8> for i16x16
[src]
impl Shl<i8> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: i8) -> i16x16
[src]
fn shl(self, other: i8) -> i16x16
Performs the <<
operation.
impl Shl<i32> for i16x16
[src]
impl Shl<i32> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: i32) -> i16x16
[src]
fn shl(self, other: i32) -> i16x16
Performs the <<
operation.
impl Shl<u8> for i16x16
[src]
impl Shl<u8> for i16x16
type Output = i16x16
The resulting type after applying the <<
operator.
fn shl(self, other: u8) -> i16x16
[src]
fn shl(self, other: u8) -> i16x16
Performs the <<
operation.
impl BitAnd<i16> for i16x16
[src]
impl BitAnd<i16> for i16x16
type Output = i16x16
The resulting type after applying the &
operator.
fn bitand(self, other: i16) -> i16x16
[src]
fn bitand(self, other: i16) -> i16x16
Performs the &
operation.
impl BitAnd<i16x16> for i16
[src]
impl BitAnd<i16x16> for i16
type Output = i16x16
The resulting type after applying the &
operator.
fn bitand(self, other: i16x16) -> i16x16
[src]
fn bitand(self, other: i16x16) -> i16x16
Performs the &
operation.
impl BitAnd<i16x16> for i16x16
[src]
impl BitAnd<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the &
operator.
fn bitand(self, other: i16x16) -> i16x16
[src]
fn bitand(self, other: i16x16) -> i16x16
Performs the &
operation.
impl UpperHex for i16x16
[src]
impl UpperHex for i16x16
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Default for i16x16
[src]
impl Default for i16x16
impl ShlAssign<u16> for i16x16
[src]
impl ShlAssign<u16> for i16x16
fn shl_assign(&mut self, other: u16)
[src]
fn shl_assign(&mut self, other: u16)
Performs the <<=
operation.
impl ShlAssign<i32> for i16x16
[src]
impl ShlAssign<i32> for i16x16
fn shl_assign(&mut self, other: i32)
[src]
fn shl_assign(&mut self, other: i32)
Performs the <<=
operation.
impl ShlAssign<usize> for i16x16
[src]
impl ShlAssign<usize> for i16x16
fn shl_assign(&mut self, other: usize)
[src]
fn shl_assign(&mut self, other: usize)
Performs the <<=
operation.
impl ShlAssign<i8> for i16x16
[src]
impl ShlAssign<i8> for i16x16
fn shl_assign(&mut self, other: i8)
[src]
fn shl_assign(&mut self, other: i8)
Performs the <<=
operation.
impl ShlAssign<i16> for i16x16
[src]
impl ShlAssign<i16> for i16x16
fn shl_assign(&mut self, other: i16)
[src]
fn shl_assign(&mut self, other: i16)
Performs the <<=
operation.
impl ShlAssign<isize> for i16x16
[src]
impl ShlAssign<isize> for i16x16
fn shl_assign(&mut self, other: isize)
[src]
fn shl_assign(&mut self, other: isize)
Performs the <<=
operation.
impl ShlAssign<u8> for i16x16
[src]
impl ShlAssign<u8> for i16x16
fn shl_assign(&mut self, other: u8)
[src]
fn shl_assign(&mut self, other: u8)
Performs the <<=
operation.
impl ShlAssign<u32> for i16x16
[src]
impl ShlAssign<u32> for i16x16
fn shl_assign(&mut self, other: u32)
[src]
fn shl_assign(&mut self, other: u32)
Performs the <<=
operation.
impl ShlAssign<i16x16> for i16x16
[src]
impl ShlAssign<i16x16> for i16x16
fn shl_assign(&mut self, other: i16x16)
[src]
fn shl_assign(&mut self, other: i16x16)
Performs the <<=
operation.
impl ShlAssign<i64> for i16x16
[src]
impl ShlAssign<i64> for i16x16
fn shl_assign(&mut self, other: i64)
[src]
fn shl_assign(&mut self, other: i64)
Performs the <<=
operation.
impl ShlAssign<u64> for i16x16
[src]
impl ShlAssign<u64> for i16x16
fn shl_assign(&mut self, other: u64)
[src]
fn shl_assign(&mut self, other: u64)
Performs the <<=
operation.
impl BitXorAssign<i16> for i16x16
[src]
impl BitXorAssign<i16> for i16x16
fn bitxor_assign(&mut self, other: i16)
[src]
fn bitxor_assign(&mut self, other: i16)
Performs the ^=
operation.
impl BitXorAssign<i16x16> for i16x16
[src]
impl BitXorAssign<i16x16> for i16x16
fn bitxor_assign(&mut self, other: i16x16)
[src]
fn bitxor_assign(&mut self, other: i16x16)
Performs the ^=
operation.
impl Octal for i16x16
[src]
impl Octal for i16x16
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Div<i16> for i16x16
[src]
impl Div<i16> for i16x16
type Output = i16x16
The resulting type after applying the /
operator.
fn div(self, other: i16) -> i16x16
[src]
fn div(self, other: i16) -> i16x16
Performs the /
operation.
impl Div<i16x16> for i16
[src]
impl Div<i16x16> for i16
type Output = i16x16
The resulting type after applying the /
operator.
fn div(self, other: i16x16) -> i16x16
[src]
fn div(self, other: i16x16) -> i16x16
Performs the /
operation.
impl Div<i16x16> for i16x16
[src]
impl Div<i16x16> for i16x16
type Output = i16x16
The resulting type after applying the /
operator.
fn div(self, other: i16x16) -> i16x16
[src]
fn div(self, other: i16x16) -> i16x16
Performs the /
operation.
impl BitOrAssign<i16> for i16x16
[src]
impl BitOrAssign<i16> for i16x16
fn bitor_assign(&mut self, other: i16)
[src]
fn bitor_assign(&mut self, other: i16)
Performs the |=
operation.
impl BitOrAssign<i16x16> for i16x16
[src]
impl BitOrAssign<i16x16> for i16x16
fn bitor_assign(&mut self, other: i16x16)
[src]
fn bitor_assign(&mut self, other: i16x16)
Performs the |=
operation.
impl BitAndAssign<i16> for i16x16
[src]
impl BitAndAssign<i16> for i16x16
fn bitand_assign(&mut self, other: i16)
[src]
fn bitand_assign(&mut self, other: i16)
Performs the &=
operation.
impl BitAndAssign<i16x16> for i16x16
[src]
impl BitAndAssign<i16x16> for i16x16
fn bitand_assign(&mut self, other: i16x16)
[src]
fn bitand_assign(&mut self, other: i16x16)
Performs the &=
operation.