# Struct std::simd::i16x2 [−][src]

#[repr(simd)]pub struct i16x2(_, _);

A 32-bit wide vector with 2 `i16`

lanes.

## Methods

`impl i16x2`

[src]

`impl i16x2`

`pub const fn new(x0: i16, x1: i16) -> i16x2`

[src]

`pub const fn new(x0: i16, x1: i16) -> i16x2`

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) -> i16x2`

[src]

`pub const fn splat(value: i16) -> i16x2`

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`

```
#[must_use = "replace does not modify the original value - it returns a new vector with the value at `index` replaced by `new_value`d"]
pub fn replace(self, index: usize, new_value: i16) -> i16x2
```

[src]

```
#[must_use = "replace does not modify the original value - it returns a new vector with the value at `index` replaced by `new_value`d"]
pub fn replace(self, index: usize, new_value: i16) -> i16x2
```

Returns a new vector where the value at `index`

is replaced by `new_value`

.

# Panics

If `index >= Self::lanes()`

.

```
#[must_use = "replace_unchecked does not modify the original value - it returns a new vector with the value at `index` replaced by `new_value`d"]
pub unsafe fn replace_unchecked(self, index: usize, new_value: i16) -> i16x2
```

[src]

```
#[must_use = "replace_unchecked does not modify the original value - it returns a new vector with the value at `index` replaced by `new_value`d"]
pub unsafe fn replace_unchecked(self, index: usize, new_value: i16) -> i16x2
```

Returns a new vector where the value at `index`

is replaced by `new_value`

.

# Precondition

If `index >= Self::lanes()`

the behavior is undefined.

`impl i16x2`

[src]

`impl i16x2`

`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]) -> i16x2`

[src]

`pub fn load_aligned(slice: &[i16]) -> i16x2`

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]) -> i16x2`

[src]

`pub fn load_unaligned(slice: &[i16]) -> i16x2`

`pub unsafe fn load_aligned_unchecked(slice: &[i16]) -> i16x2`

[src]

`pub unsafe fn load_aligned_unchecked(slice: &[i16]) -> i16x2`

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]) -> i16x2`

[src]

`pub unsafe fn load_unaligned_unchecked(slice: &[i16]) -> i16x2`

Instantiates a new vector with the values of the `slice`

.

# Precondition

If `slice.len() < Self::lanes()`

the behavior is undefined.

`impl i16x2`

[src]

`impl i16x2`

`pub fn eq(self, other: i16x2) -> m16x2`

[src]

`pub fn eq(self, other: i16x2) -> m16x2`

Lane-wise equality comparison.

`pub fn ne(self, other: i16x2) -> m16x2`

[src]

`pub fn ne(self, other: i16x2) -> m16x2`

Lane-wise inequality comparison.

`pub fn lt(self, other: i16x2) -> m16x2`

[src]

`pub fn lt(self, other: i16x2) -> m16x2`

Lane-wise less-than comparison.

`pub fn le(self, other: i16x2) -> m16x2`

[src]

`pub fn le(self, other: i16x2) -> m16x2`

Lane-wise less-than-or-equals comparison.

`pub fn gt(self, other: i16x2) -> m16x2`

[src]

`pub fn gt(self, other: i16x2) -> m16x2`

Lane-wise greater-than comparison.

`pub fn ge(self, other: i16x2) -> m16x2`

[src]

`pub fn ge(self, other: i16x2) -> m16x2`

Lane-wise greater-than-or-equals comparison.

`impl i16x2`

[src]

`impl i16x2`

`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 i16x2`

[src]

`impl i16x2`

`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 i16x2`

[src]

`impl i16x2`

`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 i16x2`

[src]

`impl i16x2`

`pub fn min(self, x: i16x2) -> i16x2`

[src]

`pub fn min(self, x: i16x2) -> i16x2`

Minimum of two vectors.

Returns a new vector containing the minimum value of each of the input vector lanes.

`pub fn max(self, x: i16x2) -> i16x2`

[src]

`pub fn max(self, x: i16x2) -> i16x2`

Maximum of two vectors.

Returns a new vector containing the minimum value of each of the input vector lanes.

## Trait Implementations

`impl Shl<u32> for i16x2`

[src]

`impl Shl<u32> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: u32) -> i16x2`

[src]

`fn shl(self, other: u32) -> i16x2`

Performs the `<<`

operation.

`impl Shl<u16> for i16x2`

[src]

`impl Shl<u16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: u16) -> i16x2`

[src]

`fn shl(self, other: u16) -> i16x2`

Performs the `<<`

operation.

`impl Shl<i16> for i16x2`

[src]

`impl Shl<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: i16) -> i16x2`

[src]

`fn shl(self, other: i16) -> i16x2`

Performs the `<<`

operation.

`impl Shl<i16x2> for i16x2`

[src]

`impl Shl<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: i16x2) -> i16x2`

[src]

`fn shl(self, other: i16x2) -> i16x2`

Performs the `<<`

operation.

`impl Shl<i8> for i16x2`

[src]

`impl Shl<i8> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: i8) -> i16x2`

[src]

`fn shl(self, other: i8) -> i16x2`

Performs the `<<`

operation.

`impl Shl<isize> for i16x2`

[src]

`impl Shl<isize> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: isize) -> i16x2`

[src]

`fn shl(self, other: isize) -> i16x2`

Performs the `<<`

operation.

`impl Shl<i32> for i16x2`

[src]

`impl Shl<i32> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: i32) -> i16x2`

[src]

`fn shl(self, other: i32) -> i16x2`

Performs the `<<`

operation.

`impl Shl<u64> for i16x2`

[src]

`impl Shl<u64> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: u64) -> i16x2`

[src]

`fn shl(self, other: u64) -> i16x2`

Performs the `<<`

operation.

`impl Shl<usize> for i16x2`

[src]

`impl Shl<usize> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: usize) -> i16x2`

[src]

`fn shl(self, other: usize) -> i16x2`

Performs the `<<`

operation.

`impl Shl<i64> for i16x2`

[src]

`impl Shl<i64> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: i64) -> i16x2`

[src]

`fn shl(self, other: i64) -> i16x2`

Performs the `<<`

operation.

`impl Shl<u8> for i16x2`

[src]

`impl Shl<u8> for i16x2`

`type Output = i16x2`

The resulting type after applying the `<<`

operator.

`fn shl(self, other: u8) -> i16x2`

[src]

`fn shl(self, other: u8) -> i16x2`

Performs the `<<`

operation.

`impl BitAnd<i16x2> for i16x2`

[src]

`impl BitAnd<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `&`

operator.

`fn bitand(self, other: i16x2) -> i16x2`

[src]

`fn bitand(self, other: i16x2) -> i16x2`

Performs the `&`

operation.

`impl BitAnd<i16x2> for i16`

[src]

`impl BitAnd<i16x2> for i16`

`type Output = i16x2`

The resulting type after applying the `&`

operator.

`fn bitand(self, other: i16x2) -> i16x2`

[src]

`fn bitand(self, other: i16x2) -> i16x2`

Performs the `&`

operation.

`impl BitAnd<i16> for i16x2`

[src]

`impl BitAnd<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `&`

operator.

`fn bitand(self, other: i16) -> i16x2`

[src]

`fn bitand(self, other: i16) -> i16x2`

Performs the `&`

operation.

`impl Binary for i16x2`

[src]

`impl Binary for i16x2`

`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 Debug for i16x2`

[src]

`impl Debug for i16x2`

`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 Default for i16x2`

[src]

`impl Default for i16x2`

`impl ShlAssign<u16> for i16x2`

[src]

`impl ShlAssign<u16> for i16x2`

`fn shl_assign(&mut self, other: u16)`

[src]

`fn shl_assign(&mut self, other: u16)`

Performs the `<<=`

operation.

`impl ShlAssign<i8> for i16x2`

[src]

`impl ShlAssign<i8> for i16x2`

`fn shl_assign(&mut self, other: i8)`

[src]

`fn shl_assign(&mut self, other: i8)`

Performs the `<<=`

operation.

`impl ShlAssign<u8> for i16x2`

[src]

`impl ShlAssign<u8> for i16x2`

`fn shl_assign(&mut self, other: u8)`

[src]

`fn shl_assign(&mut self, other: u8)`

Performs the `<<=`

operation.

`impl ShlAssign<u32> for i16x2`

[src]

`impl ShlAssign<u32> for i16x2`

`fn shl_assign(&mut self, other: u32)`

[src]

`fn shl_assign(&mut self, other: u32)`

Performs the `<<=`

operation.

`impl ShlAssign<u64> for i16x2`

[src]

`impl ShlAssign<u64> for i16x2`

`fn shl_assign(&mut self, other: u64)`

[src]

`fn shl_assign(&mut self, other: u64)`

Performs the `<<=`

operation.

`impl ShlAssign<i32> for i16x2`

[src]

`impl ShlAssign<i32> for i16x2`

`fn shl_assign(&mut self, other: i32)`

[src]

`fn shl_assign(&mut self, other: i32)`

Performs the `<<=`

operation.

`impl ShlAssign<usize> for i16x2`

[src]

`impl ShlAssign<usize> for i16x2`

`fn shl_assign(&mut self, other: usize)`

[src]

`fn shl_assign(&mut self, other: usize)`

Performs the `<<=`

operation.

`impl ShlAssign<i16x2> for i16x2`

[src]

`impl ShlAssign<i16x2> for i16x2`

`fn shl_assign(&mut self, other: i16x2)`

[src]

`fn shl_assign(&mut self, other: i16x2)`

Performs the `<<=`

operation.

`impl ShlAssign<isize> for i16x2`

[src]

`impl ShlAssign<isize> for i16x2`

`fn shl_assign(&mut self, other: isize)`

[src]

`fn shl_assign(&mut self, other: isize)`

Performs the `<<=`

operation.

`impl ShlAssign<i64> for i16x2`

[src]

`impl ShlAssign<i64> for i16x2`

`fn shl_assign(&mut self, other: i64)`

[src]

`fn shl_assign(&mut self, other: i64)`

Performs the `<<=`

operation.

`impl ShlAssign<i16> for i16x2`

[src]

`impl ShlAssign<i16> for i16x2`

`fn shl_assign(&mut self, other: i16)`

[src]

`fn shl_assign(&mut self, other: i16)`

Performs the `<<=`

operation.

`impl Div<i16x2> for i16x2`

[src]

`impl Div<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `/`

operator.

`fn div(self, other: i16x2) -> i16x2`

[src]

`fn div(self, other: i16x2) -> i16x2`

Performs the `/`

operation.

`impl Div<i16x2> for i16`

[src]

`impl Div<i16x2> for i16`

`type Output = i16x2`

The resulting type after applying the `/`

operator.

`fn div(self, other: i16x2) -> i16x2`

[src]

`fn div(self, other: i16x2) -> i16x2`

Performs the `/`

operation.

`impl Div<i16> for i16x2`

[src]

`impl Div<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `/`

operator.

`fn div(self, other: i16) -> i16x2`

[src]

`fn div(self, other: i16) -> i16x2`

Performs the `/`

operation.

`impl BitXorAssign<i16x2> for i16x2`

[src]

`impl BitXorAssign<i16x2> for i16x2`

`fn bitxor_assign(&mut self, other: i16x2)`

[src]

`fn bitxor_assign(&mut self, other: i16x2)`

Performs the `^=`

operation.

`impl BitXorAssign<i16> for i16x2`

[src]

`impl BitXorAssign<i16> for i16x2`

`fn bitxor_assign(&mut self, other: i16)`

[src]

`fn bitxor_assign(&mut self, other: i16)`

Performs the `^=`

operation.

`impl BitOrAssign<i16> for i16x2`

[src]

`impl BitOrAssign<i16> for i16x2`

`fn bitor_assign(&mut self, other: i16)`

[src]

`fn bitor_assign(&mut self, other: i16)`

Performs the `|=`

operation.

`impl BitOrAssign<i16x2> for i16x2`

[src]

`impl BitOrAssign<i16x2> for i16x2`

`fn bitor_assign(&mut self, other: i16x2)`

[src]

`fn bitor_assign(&mut self, other: i16x2)`

Performs the `|=`

operation.

`impl BitAndAssign<i16> for i16x2`

[src]

`impl BitAndAssign<i16> for i16x2`

`fn bitand_assign(&mut self, other: i16)`

[src]

`fn bitand_assign(&mut self, other: i16)`

Performs the `&=`

operation.

`impl BitAndAssign<i16x2> for i16x2`

[src]

`impl BitAndAssign<i16x2> for i16x2`

`fn bitand_assign(&mut self, other: i16x2)`

[src]

`fn bitand_assign(&mut self, other: i16x2)`

Performs the `&=`

operation.

`impl Add<i16> for i16x2`

[src]

`impl Add<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `+`

operator.

`fn add(self, other: i16) -> i16x2`

[src]

`fn add(self, other: i16) -> i16x2`

Performs the `+`

operation.

`impl Add<i16x2> for i16`

[src]

`impl Add<i16x2> for i16`

`type Output = i16x2`

The resulting type after applying the `+`

operator.

`fn add(self, other: i16x2) -> i16x2`

[src]

`fn add(self, other: i16x2) -> i16x2`

Performs the `+`

operation.

`impl Add<i16x2> for i16x2`

[src]

`impl Add<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `+`

operator.

`fn add(self, other: i16x2) -> i16x2`

[src]

`fn add(self, other: i16x2) -> i16x2`

Performs the `+`

operation.

`impl BitOr<i16> for i16x2`

[src]

`impl BitOr<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `|`

operator.

`fn bitor(self, other: i16) -> i16x2`

[src]

`fn bitor(self, other: i16) -> i16x2`

Performs the `|`

operation.

`impl BitOr<i16x2> for i16x2`

[src]

`impl BitOr<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `|`

operator.

`fn bitor(self, other: i16x2) -> i16x2`

[src]

`fn bitor(self, other: i16x2) -> i16x2`

Performs the `|`

operation.

`impl BitOr<i16x2> for i16`

[src]

`impl BitOr<i16x2> for i16`

`type Output = i16x2`

The resulting type after applying the `|`

operator.

`fn bitor(self, other: i16x2) -> i16x2`

[src]

`fn bitor(self, other: i16x2) -> i16x2`

Performs the `|`

operation.

`impl RemAssign<i16> for i16x2`

[src]

`impl RemAssign<i16> for i16x2`

`fn rem_assign(&mut self, other: i16)`

[src]

`fn rem_assign(&mut self, other: i16)`

Performs the `%=`

operation.

`impl RemAssign<i16x2> for i16x2`

[src]

`impl RemAssign<i16x2> for i16x2`

`fn rem_assign(&mut self, other: i16x2)`

[src]

`fn rem_assign(&mut self, other: i16x2)`

Performs the `%=`

operation.

`impl Copy for i16x2`

[src]

`impl Copy for i16x2`

`impl DivAssign<i16x2> for i16x2`

[src]

`impl DivAssign<i16x2> for i16x2`

`fn div_assign(&mut self, other: i16x2)`

[src]

`fn div_assign(&mut self, other: i16x2)`

Performs the `/=`

operation.

`impl DivAssign<i16> for i16x2`

[src]

`impl DivAssign<i16> for i16x2`

`fn div_assign(&mut self, other: i16)`

[src]

`fn div_assign(&mut self, other: i16)`

Performs the `/=`

operation.

`impl MulAssign<i16x2> for i16x2`

[src]

`impl MulAssign<i16x2> for i16x2`

`fn mul_assign(&mut self, other: i16x2)`

[src]

`fn mul_assign(&mut self, other: i16x2)`

Performs the `*=`

operation.

`impl MulAssign<i16> for i16x2`

[src]

`impl MulAssign<i16> for i16x2`

`fn mul_assign(&mut self, other: i16)`

[src]

`fn mul_assign(&mut self, other: i16)`

Performs the `*=`

operation.

`impl UpperHex for i16x2`

[src]

`impl UpperHex for i16x2`

`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 SubAssign<i16> for i16x2`

[src]

`impl SubAssign<i16> for i16x2`

`fn sub_assign(&mut self, other: i16)`

[src]

`fn sub_assign(&mut self, other: i16)`

Performs the `-=`

operation.

`impl SubAssign<i16x2> for i16x2`

[src]

`impl SubAssign<i16x2> for i16x2`

`fn sub_assign(&mut self, other: i16x2)`

[src]

`fn sub_assign(&mut self, other: i16x2)`

Performs the `-=`

operation.

`impl Octal for i16x2`

[src]

`impl Octal for i16x2`

`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 From<f32x2> for i16x2`

[src]

`impl From<f32x2> for i16x2`

`impl From<m32x2> for i16x2`

[src]

`impl From<m32x2> for i16x2`

`impl From<i16x2> for f64x2`

[src]

`impl From<i16x2> for f64x2`

`impl From<i64x2> for i16x2`

[src]

`impl From<i64x2> for i16x2`

`impl From<m8x2> for i16x2`

[src]

`impl From<m8x2> for i16x2`

`impl From<i16x2> for i64x2`

[src]

`impl From<i16x2> for i64x2`

`impl From<u32x2> for i16x2`

[src]

`impl From<u32x2> for i16x2`

`impl From<i16x2> for u32x2`

[src]

`impl From<i16x2> for u32x2`

`impl From<u16x2> for i16x2`

[src]

`impl From<u16x2> for i16x2`

`impl From<i16x2> for u16x2`

[src]

`impl From<i16x2> for u16x2`

`impl From<m64x2> for i16x2`

[src]

`impl From<m64x2> for i16x2`

`impl From<i32x2> for i16x2`

[src]

`impl From<i32x2> for i16x2`

`impl From<i16x2> for i32x2`

[src]

`impl From<i16x2> for i32x2`

`impl From<f64x2> for i16x2`

[src]

`impl From<f64x2> for i16x2`

`impl From<u64x2> for i16x2`

[src]

`impl From<u64x2> for i16x2`

`impl From<i8x2> for i16x2`

[src]

`impl From<i8x2> for i16x2`

`impl From<m16x2> for i16x2`

[src]

`impl From<m16x2> for i16x2`

`impl From<i16x2> for u64x2`

[src]

`impl From<i16x2> for u64x2`

`impl From<i16x2> for f32x2`

[src]

`impl From<i16x2> for f32x2`

`impl From<u8x2> for i16x2`

[src]

`impl From<u8x2> for i16x2`

`impl AddAssign<i16> for i16x2`

[src]

`impl AddAssign<i16> for i16x2`

`fn add_assign(&mut self, other: i16)`

[src]

`fn add_assign(&mut self, other: i16)`

Performs the `+=`

operation.

`impl AddAssign<i16x2> for i16x2`

[src]

`impl AddAssign<i16x2> for i16x2`

`fn add_assign(&mut self, other: i16x2)`

[src]

`fn add_assign(&mut self, other: i16x2)`

Performs the `+=`

operation.

`impl Neg for i16x2`

[src]

`impl Neg for i16x2`

`type Output = i16x2`

The resulting type after applying the `-`

operator.

`fn neg(self) -> i16x2`

[src]

`fn neg(self) -> i16x2`

Performs the unary `-`

operation.

`impl ShrAssign<u32> for i16x2`

[src]

`impl ShrAssign<u32> for i16x2`

`fn shr_assign(&mut self, other: u32)`

[src]

`fn shr_assign(&mut self, other: u32)`

Performs the `>>=`

operation.

`impl ShrAssign<i32> for i16x2`

[src]

`impl ShrAssign<i32> for i16x2`

`fn shr_assign(&mut self, other: i32)`

[src]

`fn shr_assign(&mut self, other: i32)`

Performs the `>>=`

operation.

`impl ShrAssign<i8> for i16x2`

[src]

`impl ShrAssign<i8> for i16x2`

`fn shr_assign(&mut self, other: i8)`

[src]

`fn shr_assign(&mut self, other: i8)`

Performs the `>>=`

operation.

`impl ShrAssign<u8> for i16x2`

[src]

`impl ShrAssign<u8> for i16x2`

`fn shr_assign(&mut self, other: u8)`

[src]

`fn shr_assign(&mut self, other: u8)`

Performs the `>>=`

operation.

`impl ShrAssign<i64> for i16x2`

[src]

`impl ShrAssign<i64> for i16x2`

`fn shr_assign(&mut self, other: i64)`

[src]

`fn shr_assign(&mut self, other: i64)`

Performs the `>>=`

operation.

`impl ShrAssign<isize> for i16x2`

[src]

`impl ShrAssign<isize> for i16x2`

`fn shr_assign(&mut self, other: isize)`

[src]

`fn shr_assign(&mut self, other: isize)`

Performs the `>>=`

operation.

`impl ShrAssign<u16> for i16x2`

[src]

`impl ShrAssign<u16> for i16x2`

`fn shr_assign(&mut self, other: u16)`

[src]

`fn shr_assign(&mut self, other: u16)`

Performs the `>>=`

operation.

`impl ShrAssign<i16x2> for i16x2`

[src]

`impl ShrAssign<i16x2> for i16x2`

`fn shr_assign(&mut self, other: i16x2)`

[src]

`fn shr_assign(&mut self, other: i16x2)`

Performs the `>>=`

operation.

`impl ShrAssign<i16> for i16x2`

[src]

`impl ShrAssign<i16> for i16x2`

`fn shr_assign(&mut self, other: i16)`

[src]

`fn shr_assign(&mut self, other: i16)`

Performs the `>>=`

operation.

`impl ShrAssign<usize> for i16x2`

[src]

`impl ShrAssign<usize> for i16x2`

`fn shr_assign(&mut self, other: usize)`

[src]

`fn shr_assign(&mut self, other: usize)`

Performs the `>>=`

operation.

`impl ShrAssign<u64> for i16x2`

[src]

`impl ShrAssign<u64> for i16x2`

`fn shr_assign(&mut self, other: u64)`

[src]

`fn shr_assign(&mut self, other: u64)`

Performs the `>>=`

operation.

`impl Sub<i16> for i16x2`

[src]

`impl Sub<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `-`

operator.

`fn sub(self, other: i16) -> i16x2`

[src]

`fn sub(self, other: i16) -> i16x2`

Performs the `-`

operation.

`impl Sub<i16x2> for i16`

[src]

`impl Sub<i16x2> for i16`

`type Output = i16x2`

The resulting type after applying the `-`

operator.

`fn sub(self, other: i16x2) -> i16x2`

[src]

`fn sub(self, other: i16x2) -> i16x2`

Performs the `-`

operation.

`impl Sub<i16x2> for i16x2`

[src]

`impl Sub<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `-`

operator.

`fn sub(self, other: i16x2) -> i16x2`

[src]

`fn sub(self, other: i16x2) -> i16x2`

Performs the `-`

operation.

`impl Shr<i32> for i16x2`

[src]

`impl Shr<i32> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: i32) -> i16x2`

[src]

`fn shr(self, other: i32) -> i16x2`

Performs the `>>`

operation.

`impl Shr<u32> for i16x2`

[src]

`impl Shr<u32> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: u32) -> i16x2`

[src]

`fn shr(self, other: u32) -> i16x2`

Performs the `>>`

operation.

`impl Shr<usize> for i16x2`

[src]

`impl Shr<usize> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: usize) -> i16x2`

[src]

`fn shr(self, other: usize) -> i16x2`

Performs the `>>`

operation.

`impl Shr<i8> for i16x2`

[src]

`impl Shr<i8> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: i8) -> i16x2`

[src]

`fn shr(self, other: i8) -> i16x2`

Performs the `>>`

operation.

`impl Shr<u8> for i16x2`

[src]

`impl Shr<u8> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: u8) -> i16x2`

[src]

`fn shr(self, other: u8) -> i16x2`

Performs the `>>`

operation.

`impl Shr<i16> for i16x2`

[src]

`impl Shr<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: i16) -> i16x2`

[src]

`fn shr(self, other: i16) -> i16x2`

Performs the `>>`

operation.

`impl Shr<i16x2> for i16x2`

[src]

`impl Shr<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: i16x2) -> i16x2`

[src]

`fn shr(self, other: i16x2) -> i16x2`

Performs the `>>`

operation.

`impl Shr<i64> for i16x2`

[src]

`impl Shr<i64> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: i64) -> i16x2`

[src]

`fn shr(self, other: i64) -> i16x2`

Performs the `>>`

operation.

`impl Shr<isize> for i16x2`

[src]

`impl Shr<isize> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: isize) -> i16x2`

[src]

`fn shr(self, other: isize) -> i16x2`

Performs the `>>`

operation.

`impl Shr<u16> for i16x2`

[src]

`impl Shr<u16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: u16) -> i16x2`

[src]

`fn shr(self, other: u16) -> i16x2`

Performs the `>>`

operation.

`impl Shr<u64> for i16x2`

[src]

`impl Shr<u64> for i16x2`

`type Output = i16x2`

The resulting type after applying the `>>`

operator.

`fn shr(self, other: u64) -> i16x2`

[src]

`fn shr(self, other: u64) -> i16x2`

Performs the `>>`

operation.

`impl Clone for i16x2`

[src]

`impl Clone for i16x2`

`fn clone(&self) -> i16x2`

[src]

`fn clone(&self) -> i16x2`

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<i16x2> for i16x2`

[src]

`impl PartialOrd<i16x2> for i16x2`

`fn partial_cmp(&self, other: &i16x2) -> Option<Ordering>`

[src]

`fn partial_cmp(&self, other: &i16x2) -> Option<Ordering>`

This method returns an ordering between `self`

and `other`

values if one exists. Read more

`fn lt(&self, other: &i16x2) -> bool`

[src]

`fn lt(&self, other: &i16x2) -> bool`

This method tests less than (for `self`

and `other`

) and is used by the `<`

operator. Read more

`fn le(&self, other: &i16x2) -> bool`

[src]

`fn le(&self, other: &i16x2) -> 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: &i16x2) -> bool`

[src]

`fn gt(&self, other: &i16x2) -> bool`

This method tests greater than (for `self`

and `other`

) and is used by the `>`

operator. Read more

`fn ge(&self, other: &i16x2) -> bool`

[src]

`fn ge(&self, other: &i16x2) -> bool`

This method tests greater than or equal to (for `self`

and `other`

) and is used by the `>=`

operator. Read more

`impl BitXor<i16x2> for i16x2`

[src]

`impl BitXor<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `^`

operator.

`fn bitxor(self, other: i16x2) -> i16x2`

[src]

`fn bitxor(self, other: i16x2) -> i16x2`

Performs the `^`

operation.

`impl BitXor<i16> for i16x2`

[src]

`impl BitXor<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `^`

operator.

`fn bitxor(self, other: i16) -> i16x2`

[src]

`fn bitxor(self, other: i16) -> i16x2`

Performs the `^`

operation.

`impl BitXor<i16x2> for i16`

[src]

`impl BitXor<i16x2> for i16`

`type Output = i16x2`

The resulting type after applying the `^`

operator.

`fn bitxor(self, other: i16x2) -> i16x2`

[src]

`fn bitxor(self, other: i16x2) -> i16x2`

Performs the `^`

operation.

`impl Not for i16x2`

[src]

`impl Not for i16x2`

`type Output = i16x2`

The resulting type after applying the `!`

operator.

`fn not(self) -> i16x2`

[src]

`fn not(self) -> i16x2`

Performs the unary `!`

operation.

`impl Eq for i16x2`

[src]

`impl Eq for i16x2`

`impl PartialEq<i16x2> for i16x2`

[src]

`impl PartialEq<i16x2> for i16x2`

`fn eq(&self, other: &i16x2) -> bool`

[src]

`fn eq(&self, other: &i16x2) -> bool`

This method tests for `self`

and `other`

values to be equal, and is used by `==`

. Read more

`fn ne(&self, other: &i16x2) -> bool`

[src]

`fn ne(&self, other: &i16x2) -> bool`

This method tests for `!=`

.

`impl LowerHex for i16x2`

[src]

`impl LowerHex for i16x2`

`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 Rem<i16x2> for i16x2`

[src]

`impl Rem<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `%`

operator.

`fn rem(self, other: i16x2) -> i16x2`

[src]

`fn rem(self, other: i16x2) -> i16x2`

Performs the `%`

operation.

`impl Rem<i16x2> for i16`

[src]

`impl Rem<i16x2> for i16`

`type Output = i16x2`

The resulting type after applying the `%`

operator.

`fn rem(self, other: i16x2) -> i16x2`

[src]

`fn rem(self, other: i16x2) -> i16x2`

Performs the `%`

operation.

`impl Rem<i16> for i16x2`

[src]

`impl Rem<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `%`

operator.

`fn rem(self, other: i16) -> i16x2`

[src]

`fn rem(self, other: i16) -> i16x2`

Performs the `%`

operation.

`impl FromBits<i16x2> for i8x4`

[src]

`impl FromBits<i16x2> for i8x4`

`impl FromBits<i8x4> for i16x2`

[src]

`impl FromBits<i8x4> for i16x2`

`impl FromBits<m16x2> for i16x2`

[src]

`impl FromBits<m16x2> for i16x2`

`impl FromBits<i16x2> for u8x4`

[src]

`impl FromBits<i16x2> for u8x4`

`impl FromBits<u16x2> for i16x2`

[src]

`impl FromBits<u16x2> for i16x2`

`impl FromBits<m8x4> for i16x2`

[src]

`impl FromBits<m8x4> for i16x2`

`impl FromBits<i16x2> for u16x2`

[src]

`impl FromBits<i16x2> for u16x2`

`impl FromBits<u8x4> for i16x2`

[src]

`impl FromBits<u8x4> for i16x2`

`impl Mul<i16x2> for i16`

[src]

`impl Mul<i16x2> for i16`

`type Output = i16x2`

The resulting type after applying the `*`

operator.

`fn mul(self, other: i16x2) -> i16x2`

[src]

`fn mul(self, other: i16x2) -> i16x2`

Performs the `*`

operation.

`impl Mul<i16> for i16x2`

[src]

`impl Mul<i16> for i16x2`

`type Output = i16x2`

The resulting type after applying the `*`

operator.

`fn mul(self, other: i16) -> i16x2`

[src]

`fn mul(self, other: i16) -> i16x2`

Performs the `*`

operation.

`impl Mul<i16x2> for i16x2`

[src]

`impl Mul<i16x2> for i16x2`

`type Output = i16x2`

The resulting type after applying the `*`

operator.

`fn mul(self, other: i16x2) -> i16x2`

[src]

`fn mul(self, other: i16x2) -> i16x2`

Performs the `*`

operation.

`impl Hash for i16x2`

[src]

`impl Hash for i16x2`