Struct core::simd::u16x2 [−][src]
#[repr(simd)]pub struct u16x2(_, _);
A 32-bit wide vector with 2 u16
lanes.
Methods
impl u16x2
[src]
impl u16x2
pub const fn new(x0: u16, x1: u16) -> Self
[src]
pub const fn new(x0: u16, x1: u16) -> Self
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: u16) -> Self
[src]
pub const fn splat(value: u16) -> Self
Constructs a new instance with each element initialized to
value
.
pub fn extract(self, index: usize) -> u16
[src]
pub fn extract(self, index: usize) -> u16
pub unsafe fn extract_unchecked(self, index: usize) -> u16
[src]
pub unsafe fn extract_unchecked(self, index: usize) -> u16
#[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: u16) -> Self
[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: u16) -> Self
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: u16) -> Self
[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: u16) -> Self
Returns a new vector where the value at index
is replaced by new_value
.
Precondition
If index >= Self::lanes()
the behavior is undefined.
impl u16x2
[src]
impl u16x2
pub fn store_aligned(self, slice: &mut [u16])
[src]
pub fn store_aligned(self, slice: &mut [u16])
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 [u16])
[src]
pub fn store_unaligned(self, slice: &mut [u16])
pub unsafe fn store_aligned_unchecked(self, slice: &mut [u16])
[src]
pub unsafe fn store_aligned_unchecked(self, slice: &mut [u16])
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 [u16])
[src]
pub unsafe fn store_unaligned_unchecked(self, slice: &mut [u16])
Writes the values of the vector to the slice
.
Precondition
If slice.len() < Self::lanes()
the behavior is undefined.
pub fn load_aligned(slice: &[u16]) -> Self
[src]
pub fn load_aligned(slice: &[u16]) -> Self
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: &[u16]) -> Self
[src]
pub fn load_unaligned(slice: &[u16]) -> Self
pub unsafe fn load_aligned_unchecked(slice: &[u16]) -> Self
[src]
pub unsafe fn load_aligned_unchecked(slice: &[u16]) -> Self
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: &[u16]) -> Self
[src]
pub unsafe fn load_unaligned_unchecked(slice: &[u16]) -> Self
Instantiates a new vector with the values of the slice
.
Precondition
If slice.len() < Self::lanes()
the behavior is undefined.
impl u16x2
[src]
impl u16x2
pub fn eq(self, other: u16x2) -> m16x2
[src]
pub fn eq(self, other: u16x2) -> m16x2
Lane-wise equality comparison.
pub fn ne(self, other: u16x2) -> m16x2
[src]
pub fn ne(self, other: u16x2) -> m16x2
Lane-wise inequality comparison.
pub fn lt(self, other: u16x2) -> m16x2
[src]
pub fn lt(self, other: u16x2) -> m16x2
Lane-wise less-than comparison.
pub fn le(self, other: u16x2) -> m16x2
[src]
pub fn le(self, other: u16x2) -> m16x2
Lane-wise less-than-or-equals comparison.
pub fn gt(self, other: u16x2) -> m16x2
[src]
pub fn gt(self, other: u16x2) -> m16x2
Lane-wise greater-than comparison.
pub fn ge(self, other: u16x2) -> m16x2
[src]
pub fn ge(self, other: u16x2) -> m16x2
Lane-wise greater-than-or-equals comparison.
impl u16x2
[src]
impl u16x2
pub fn wrapping_sum(self) -> u16
[src]
pub fn wrapping_sum(self) -> u16
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) -> u16
[src]
pub fn wrapping_product(self) -> u16
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 u16x2
[src]
impl u16x2
pub fn max_element(self) -> u16
[src]
pub fn max_element(self) -> u16
Largest vector element value.
pub fn min_element(self) -> u16
[src]
pub fn min_element(self) -> u16
Smallest vector element value.
impl u16x2
[src]
impl u16x2
pub fn and(self) -> u16
[src]
pub fn and(self) -> u16
Lane-wise bitwise and
of the vector elements.
pub fn or(self) -> u16
[src]
pub fn or(self) -> u16
Lane-wise bitwise or
of the vector elements.
pub fn xor(self) -> u16
[src]
pub fn xor(self) -> u16
Lane-wise bitwise xor
of the vector elements.
impl u16x2
[src]
impl u16x2
pub fn min(self, x: Self) -> Self
[src]
pub fn min(self, x: Self) -> Self
Minimum of two vectors.
Returns a new vector containing the minimum value of each of the input vector lanes.
pub fn max(self, x: Self) -> Self
[src]
pub fn max(self, x: Self) -> Self
Maximum of two vectors.
Returns a new vector containing the minimum value of each of the input vector lanes.
Trait Implementations
impl From<u16x2> for f64x2
[src]
impl From<u16x2> for f64x2
impl From<u16x2> for u64x2
[src]
impl From<u16x2> for u64x2
impl From<u16x2> for i64x2
[src]
impl From<u16x2> for i64x2
impl From<u16x2> for i8x2
[src]
impl From<u16x2> for i8x2
impl From<u16x2> for u8x2
[src]
impl From<u16x2> for u8x2
impl Copy for u16x2
[src]
impl Copy for u16x2
impl Clone for u16x2
[src]
impl Clone for u16x2
fn clone(&self) -> u16x2
[src]
fn clone(&self) -> u16x2
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 Debug for u16x2
[src]
impl Debug for u16x2
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialOrd for u16x2
[src]
impl PartialOrd for u16x2
fn partial_cmp(&self, other: &u16x2) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &u16x2) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &u16x2) -> bool
[src]
fn lt(&self, other: &u16x2) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &u16x2) -> bool
[src]
fn le(&self, other: &u16x2) -> 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: &u16x2) -> bool
[src]
fn gt(&self, other: &u16x2) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &u16x2) -> bool
[src]
fn ge(&self, other: &u16x2) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for u16x2
[src]
impl Hash for u16x2
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H: Hasher>(data: &[Self], state: &mut H) where
Self: Sized,
1.3.0[src]
fn hash_slice<H: Hasher>(data: &[Self], state: &mut H) where
Self: Sized,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Add for u16x2
[src]
impl Add for u16x2
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
fn add(self, other: Self) -> Self
Performs the +
operation.
impl Sub for u16x2
[src]
impl Sub for u16x2
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
fn sub(self, other: Self) -> Self
Performs the -
operation.
impl Mul for u16x2
[src]
impl Mul for u16x2
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
fn mul(self, other: Self) -> Self
Performs the *
operation.
impl Div for u16x2
[src]
impl Div for u16x2
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
fn div(self, other: Self) -> Self
Performs the /
operation.
impl Rem for u16x2
[src]
impl Rem for u16x2
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, other: Self) -> Self
[src]
fn rem(self, other: Self) -> Self
Performs the %
operation.
impl AddAssign for u16x2
[src]
impl AddAssign for u16x2
fn add_assign(&mut self, other: Self)
[src]
fn add_assign(&mut self, other: Self)
Performs the +=
operation.
impl SubAssign for u16x2
[src]
impl SubAssign for u16x2
fn sub_assign(&mut self, other: Self)
[src]
fn sub_assign(&mut self, other: Self)
Performs the -=
operation.
impl MulAssign for u16x2
[src]
impl MulAssign for u16x2
fn mul_assign(&mut self, other: Self)
[src]
fn mul_assign(&mut self, other: Self)
Performs the *=
operation.
impl DivAssign for u16x2
[src]
impl DivAssign for u16x2
fn div_assign(&mut self, other: Self)
[src]
fn div_assign(&mut self, other: Self)
Performs the /=
operation.
impl RemAssign for u16x2
[src]
impl RemAssign for u16x2
fn rem_assign(&mut self, other: Self)
[src]
fn rem_assign(&mut self, other: Self)
Performs the %=
operation.
impl Add<u16> for u16x2
[src]
impl Add<u16> for u16x2
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: u16) -> Self
[src]
fn add(self, other: u16) -> Self
Performs the +
operation.
impl Add<u16x2> for u16
[src]
impl Add<u16x2> for u16
type Output = u16x2
The resulting type after applying the +
operator.
fn add(self, other: u16x2) -> u16x2
[src]
fn add(self, other: u16x2) -> u16x2
Performs the +
operation.
impl Sub<u16> for u16x2
[src]
impl Sub<u16> for u16x2
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: u16) -> Self
[src]
fn sub(self, other: u16) -> Self
Performs the -
operation.
impl Sub<u16x2> for u16
[src]
impl Sub<u16x2> for u16
type Output = u16x2
The resulting type after applying the -
operator.
fn sub(self, other: u16x2) -> u16x2
[src]
fn sub(self, other: u16x2) -> u16x2
Performs the -
operation.
impl Mul<u16> for u16x2
[src]
impl Mul<u16> for u16x2
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: u16) -> Self
[src]
fn mul(self, other: u16) -> Self
Performs the *
operation.
impl Mul<u16x2> for u16
[src]
impl Mul<u16x2> for u16
type Output = u16x2
The resulting type after applying the *
operator.
fn mul(self, other: u16x2) -> u16x2
[src]
fn mul(self, other: u16x2) -> u16x2
Performs the *
operation.
impl Div<u16> for u16x2
[src]
impl Div<u16> for u16x2
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: u16) -> Self
[src]
fn div(self, other: u16) -> Self
Performs the /
operation.
impl Div<u16x2> for u16
[src]
impl Div<u16x2> for u16
type Output = u16x2
The resulting type after applying the /
operator.
fn div(self, other: u16x2) -> u16x2
[src]
fn div(self, other: u16x2) -> u16x2
Performs the /
operation.
impl Rem<u16> for u16x2
[src]
impl Rem<u16> for u16x2
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, other: u16) -> Self
[src]
fn rem(self, other: u16) -> Self
Performs the %
operation.
impl Rem<u16x2> for u16
[src]
impl Rem<u16x2> for u16
type Output = u16x2
The resulting type after applying the %
operator.
fn rem(self, other: u16x2) -> u16x2
[src]
fn rem(self, other: u16x2) -> u16x2
Performs the %
operation.
impl AddAssign<u16> for u16x2
[src]
impl AddAssign<u16> for u16x2
fn add_assign(&mut self, other: u16)
[src]
fn add_assign(&mut self, other: u16)
Performs the +=
operation.
impl SubAssign<u16> for u16x2
[src]
impl SubAssign<u16> for u16x2
fn sub_assign(&mut self, other: u16)
[src]
fn sub_assign(&mut self, other: u16)
Performs the -=
operation.
impl MulAssign<u16> for u16x2
[src]
impl MulAssign<u16> for u16x2
fn mul_assign(&mut self, other: u16)
[src]
fn mul_assign(&mut self, other: u16)
Performs the *=
operation.
impl DivAssign<u16> for u16x2
[src]
impl DivAssign<u16> for u16x2
fn div_assign(&mut self, other: u16)
[src]
fn div_assign(&mut self, other: u16)
Performs the /=
operation.
impl RemAssign<u16> for u16x2
[src]
impl RemAssign<u16> for u16x2
fn rem_assign(&mut self, other: u16)
[src]
fn rem_assign(&mut self, other: u16)
Performs the %=
operation.
impl BitXor<u16> for u16x2
[src]
impl BitXor<u16> for u16x2
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, other: u16) -> Self
[src]
fn bitxor(self, other: u16) -> Self
Performs the ^
operation.
impl BitXor<u16x2> for u16
[src]
impl BitXor<u16x2> for u16
type Output = u16x2
The resulting type after applying the ^
operator.
fn bitxor(self, other: u16x2) -> u16x2
[src]
fn bitxor(self, other: u16x2) -> u16x2
Performs the ^
operation.
impl BitAnd<u16> for u16x2
[src]
impl BitAnd<u16> for u16x2
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, other: u16) -> Self
[src]
fn bitand(self, other: u16) -> Self
Performs the &
operation.
impl BitAnd<u16x2> for u16
[src]
impl BitAnd<u16x2> for u16
type Output = u16x2
The resulting type after applying the &
operator.
fn bitand(self, other: u16x2) -> u16x2
[src]
fn bitand(self, other: u16x2) -> u16x2
Performs the &
operation.
impl BitOr<u16> for u16x2
[src]
impl BitOr<u16> for u16x2
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, other: u16) -> Self
[src]
fn bitor(self, other: u16) -> Self
Performs the |
operation.
impl BitOr<u16x2> for u16
[src]
impl BitOr<u16x2> for u16
type Output = u16x2
The resulting type after applying the |
operator.
fn bitor(self, other: u16x2) -> u16x2
[src]
fn bitor(self, other: u16x2) -> u16x2
Performs the |
operation.
impl BitAndAssign<u16> for u16x2
[src]
impl BitAndAssign<u16> for u16x2
fn bitand_assign(&mut self, other: u16)
[src]
fn bitand_assign(&mut self, other: u16)
Performs the &=
operation.
impl BitOrAssign<u16> for u16x2
[src]
impl BitOrAssign<u16> for u16x2
fn bitor_assign(&mut self, other: u16)
[src]
fn bitor_assign(&mut self, other: u16)
Performs the |=
operation.
impl BitXorAssign<u16> for u16x2
[src]
impl BitXorAssign<u16> for u16x2
fn bitxor_assign(&mut self, other: u16)
[src]
fn bitxor_assign(&mut self, other: u16)
Performs the ^=
operation.
impl Not for u16x2
[src]
impl Not for u16x2
type Output = Self
The resulting type after applying the !
operator.
fn not(self) -> Self
[src]
fn not(self) -> Self
Performs the unary !
operation.
impl BitXor for u16x2
[src]
impl BitXor for u16x2
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, other: Self) -> Self
[src]
fn bitxor(self, other: Self) -> Self
Performs the ^
operation.
impl BitAnd for u16x2
[src]
impl BitAnd for u16x2
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, other: Self) -> Self
[src]
fn bitand(self, other: Self) -> Self
Performs the &
operation.
impl BitOr for u16x2
[src]
impl BitOr for u16x2
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, other: Self) -> Self
[src]
fn bitor(self, other: Self) -> Self
Performs the |
operation.
impl BitAndAssign for u16x2
[src]
impl BitAndAssign for u16x2
fn bitand_assign(&mut self, other: Self)
[src]
fn bitand_assign(&mut self, other: Self)
Performs the &=
operation.
impl BitOrAssign for u16x2
[src]
impl BitOrAssign for u16x2
fn bitor_assign(&mut self, other: Self)
[src]
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation.
impl BitXorAssign for u16x2
[src]
impl BitXorAssign for u16x2
fn bitxor_assign(&mut self, other: Self)
[src]
fn bitxor_assign(&mut self, other: Self)
Performs the ^=
operation.
impl Shl<u8> for u16x2
[src]
impl Shl<u8> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u8) -> Self
[src]
fn shl(self, other: u8) -> Self
Performs the <<
operation.
impl Shr<u8> for u16x2
[src]
impl Shr<u8> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u8) -> Self
[src]
fn shr(self, other: u8) -> Self
Performs the >>
operation.
impl ShlAssign<u8> for u16x2
[src]
impl ShlAssign<u8> for u16x2
fn shl_assign(&mut self, other: u8)
[src]
fn shl_assign(&mut self, other: u8)
Performs the <<=
operation.
impl ShrAssign<u8> for u16x2
[src]
impl ShrAssign<u8> for u16x2
fn shr_assign(&mut self, other: u8)
[src]
fn shr_assign(&mut self, other: u8)
Performs the >>=
operation.
impl Shl<u16> for u16x2
[src]
impl Shl<u16> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u16) -> Self
[src]
fn shl(self, other: u16) -> Self
Performs the <<
operation.
impl Shr<u16> for u16x2
[src]
impl Shr<u16> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u16) -> Self
[src]
fn shr(self, other: u16) -> Self
Performs the >>
operation.
impl ShlAssign<u16> for u16x2
[src]
impl ShlAssign<u16> for u16x2
fn shl_assign(&mut self, other: u16)
[src]
fn shl_assign(&mut self, other: u16)
Performs the <<=
operation.
impl ShrAssign<u16> for u16x2
[src]
impl ShrAssign<u16> for u16x2
fn shr_assign(&mut self, other: u16)
[src]
fn shr_assign(&mut self, other: u16)
Performs the >>=
operation.
impl Shl<u32> for u16x2
[src]
impl Shl<u32> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u32) -> Self
[src]
fn shl(self, other: u32) -> Self
Performs the <<
operation.
impl Shr<u32> for u16x2
[src]
impl Shr<u32> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u32) -> Self
[src]
fn shr(self, other: u32) -> Self
Performs the >>
operation.
impl ShlAssign<u32> for u16x2
[src]
impl ShlAssign<u32> for u16x2
fn shl_assign(&mut self, other: u32)
[src]
fn shl_assign(&mut self, other: u32)
Performs the <<=
operation.
impl ShrAssign<u32> for u16x2
[src]
impl ShrAssign<u32> for u16x2
fn shr_assign(&mut self, other: u32)
[src]
fn shr_assign(&mut self, other: u32)
Performs the >>=
operation.
impl Shl<u64> for u16x2
[src]
impl Shl<u64> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u64) -> Self
[src]
fn shl(self, other: u64) -> Self
Performs the <<
operation.
impl Shr<u64> for u16x2
[src]
impl Shr<u64> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u64) -> Self
[src]
fn shr(self, other: u64) -> Self
Performs the >>
operation.
impl ShlAssign<u64> for u16x2
[src]
impl ShlAssign<u64> for u16x2
fn shl_assign(&mut self, other: u64)
[src]
fn shl_assign(&mut self, other: u64)
Performs the <<=
operation.
impl ShrAssign<u64> for u16x2
[src]
impl ShrAssign<u64> for u16x2
fn shr_assign(&mut self, other: u64)
[src]
fn shr_assign(&mut self, other: u64)
Performs the >>=
operation.
impl Shl<usize> for u16x2
[src]
impl Shl<usize> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: usize) -> Self
[src]
fn shl(self, other: usize) -> Self
Performs the <<
operation.
impl Shr<usize> for u16x2
[src]
impl Shr<usize> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: usize) -> Self
[src]
fn shr(self, other: usize) -> Self
Performs the >>
operation.
impl ShlAssign<usize> for u16x2
[src]
impl ShlAssign<usize> for u16x2
fn shl_assign(&mut self, other: usize)
[src]
fn shl_assign(&mut self, other: usize)
Performs the <<=
operation.
impl ShrAssign<usize> for u16x2
[src]
impl ShrAssign<usize> for u16x2
fn shr_assign(&mut self, other: usize)
[src]
fn shr_assign(&mut self, other: usize)
Performs the >>=
operation.
impl Shl<i8> for u16x2
[src]
impl Shl<i8> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i8) -> Self
[src]
fn shl(self, other: i8) -> Self
Performs the <<
operation.
impl Shr<i8> for u16x2
[src]
impl Shr<i8> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i8) -> Self
[src]
fn shr(self, other: i8) -> Self
Performs the >>
operation.
impl ShlAssign<i8> for u16x2
[src]
impl ShlAssign<i8> for u16x2
fn shl_assign(&mut self, other: i8)
[src]
fn shl_assign(&mut self, other: i8)
Performs the <<=
operation.
impl ShrAssign<i8> for u16x2
[src]
impl ShrAssign<i8> for u16x2
fn shr_assign(&mut self, other: i8)
[src]
fn shr_assign(&mut self, other: i8)
Performs the >>=
operation.
impl Shl<i16> for u16x2
[src]
impl Shl<i16> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i16) -> Self
[src]
fn shl(self, other: i16) -> Self
Performs the <<
operation.
impl Shr<i16> for u16x2
[src]
impl Shr<i16> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i16) -> Self
[src]
fn shr(self, other: i16) -> Self
Performs the >>
operation.
impl ShlAssign<i16> for u16x2
[src]
impl ShlAssign<i16> for u16x2
fn shl_assign(&mut self, other: i16)
[src]
fn shl_assign(&mut self, other: i16)
Performs the <<=
operation.
impl ShrAssign<i16> for u16x2
[src]
impl ShrAssign<i16> for u16x2
fn shr_assign(&mut self, other: i16)
[src]
fn shr_assign(&mut self, other: i16)
Performs the >>=
operation.
impl Shl<i32> for u16x2
[src]
impl Shl<i32> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i32) -> Self
[src]
fn shl(self, other: i32) -> Self
Performs the <<
operation.
impl Shr<i32> for u16x2
[src]
impl Shr<i32> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i32) -> Self
[src]
fn shr(self, other: i32) -> Self
Performs the >>
operation.
impl ShlAssign<i32> for u16x2
[src]
impl ShlAssign<i32> for u16x2
fn shl_assign(&mut self, other: i32)
[src]
fn shl_assign(&mut self, other: i32)
Performs the <<=
operation.
impl ShrAssign<i32> for u16x2
[src]
impl ShrAssign<i32> for u16x2
fn shr_assign(&mut self, other: i32)
[src]
fn shr_assign(&mut self, other: i32)
Performs the >>=
operation.
impl Shl<i64> for u16x2
[src]
impl Shl<i64> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i64) -> Self
[src]
fn shl(self, other: i64) -> Self
Performs the <<
operation.
impl Shr<i64> for u16x2
[src]
impl Shr<i64> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i64) -> Self
[src]
fn shr(self, other: i64) -> Self
Performs the >>
operation.
impl ShlAssign<i64> for u16x2
[src]
impl ShlAssign<i64> for u16x2
fn shl_assign(&mut self, other: i64)
[src]
fn shl_assign(&mut self, other: i64)
Performs the <<=
operation.
impl ShrAssign<i64> for u16x2
[src]
impl ShrAssign<i64> for u16x2
fn shr_assign(&mut self, other: i64)
[src]
fn shr_assign(&mut self, other: i64)
Performs the >>=
operation.
impl Shl<isize> for u16x2
[src]
impl Shl<isize> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: isize) -> Self
[src]
fn shl(self, other: isize) -> Self
Performs the <<
operation.
impl Shr<isize> for u16x2
[src]
impl Shr<isize> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: isize) -> Self
[src]
fn shr(self, other: isize) -> Self
Performs the >>
operation.
impl ShlAssign<isize> for u16x2
[src]
impl ShlAssign<isize> for u16x2
fn shl_assign(&mut self, other: isize)
[src]
fn shl_assign(&mut self, other: isize)
Performs the <<=
operation.
impl ShrAssign<isize> for u16x2
[src]
impl ShrAssign<isize> for u16x2
fn shr_assign(&mut self, other: isize)
[src]
fn shr_assign(&mut self, other: isize)
Performs the >>=
operation.
impl Shl<u16x2> for u16x2
[src]
impl Shl<u16x2> for u16x2
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: Self) -> Self
[src]
fn shl(self, other: Self) -> Self
Performs the <<
operation.
impl Shr<u16x2> for u16x2
[src]
impl Shr<u16x2> for u16x2
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: Self) -> Self
[src]
fn shr(self, other: Self) -> Self
Performs the >>
operation.
impl ShlAssign<u16x2> for u16x2
[src]
impl ShlAssign<u16x2> for u16x2
fn shl_assign(&mut self, other: Self)
[src]
fn shl_assign(&mut self, other: Self)
Performs the <<=
operation.
impl ShrAssign<u16x2> for u16x2
[src]
impl ShrAssign<u16x2> for u16x2
fn shr_assign(&mut self, other: Self)
[src]
fn shr_assign(&mut self, other: Self)
Performs the >>=
operation.
impl LowerHex for u16x2
[src]
impl LowerHex for u16x2
impl UpperHex for u16x2
[src]
impl UpperHex for u16x2
impl Octal for u16x2
[src]
impl Octal for u16x2
impl Binary for u16x2
[src]
impl Binary for u16x2
impl Eq for u16x2
[src]
impl Eq for u16x2
impl PartialEq<u16x2> for u16x2
[src]
impl PartialEq<u16x2> for u16x2
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
[src]
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl Default for u16x2
[src]
impl Default for u16x2
impl FromBits<u16x2> for i16x2
[src]
impl FromBits<u16x2> for i16x2
impl FromBits<i16x2> for u16x2
[src]
impl FromBits<i16x2> for u16x2
impl FromBits<m16x2> for u16x2
[src]
impl FromBits<m16x2> for u16x2
impl FromBits<i8x4> for u16x2
[src]
impl FromBits<i8x4> for u16x2
impl FromBits<u8x4> for u16x2
[src]
impl FromBits<u8x4> for u16x2
impl FromBits<m8x4> for u16x2
[src]
impl FromBits<m8x4> for u16x2
impl FromBits<u16x2> for i8x4
[src]
impl FromBits<u16x2> for i8x4
impl FromBits<u16x2> for u8x4
[src]
impl FromBits<u16x2> for u8x4
impl From<u16x2> for i16x2
[src]
impl From<u16x2> for i16x2
impl From<f64x2> for u16x2
[src]
impl From<f64x2> for u16x2
impl From<u64x2> for u16x2
[src]
impl From<u64x2> for u16x2
impl From<i64x2> for u16x2
[src]
impl From<i64x2> for u16x2
impl From<m64x2> for u16x2
[src]
impl From<m64x2> for u16x2
impl From<f32x2> for u16x2
[src]
impl From<f32x2> for u16x2
impl From<u32x2> for u16x2
[src]
impl From<u32x2> for u16x2
impl From<i32x2> for u16x2
[src]
impl From<i32x2> for u16x2
impl From<m32x2> for u16x2
[src]
impl From<m32x2> for u16x2
impl From<i16x2> for u16x2
[src]
impl From<i16x2> for u16x2
impl From<m16x2> for u16x2
[src]
impl From<m16x2> for u16x2
impl From<u8x2> for u16x2
[src]
impl From<u8x2> for u16x2
impl From<i8x2> for u16x2
[src]
impl From<i8x2> for u16x2
impl From<m8x2> for u16x2
[src]
impl From<m8x2> for u16x2
impl From<u16x2> for f32x2
[src]
impl From<u16x2> for f32x2
impl From<u16x2> for u32x2
[src]
impl From<u16x2> for u32x2
impl From<u16x2> for i32x2
[src]
impl From<u16x2> for i32x2