Struct stdsimd::simd::i16x4
[−]
[src]
#[repr(simd)]pub struct i16x4(_, _, _, _);
Methods
impl i16x4
[src]
const fn new(x0: i16, x1: i16, x2: i16, x3: i16) -> i16x4
[src]
fn splat(value: i16) -> i16x4
[src]
fn extract(self, idx: u32) -> i16
[src]
fn replace(self, idx: u32, val: i16) -> i16x4
[src]
fn store(self, slice: &mut [i16], offset: usize)
[src]
unsafe fn store_unchecked(self, slice: &mut [i16], offset: usize)
[src]
fn load(slice: &[i16], offset: usize) -> i16x4
[src]
unsafe fn load_unchecked(slice: &[i16], offset: usize) -> i16x4
[src]
fn eq(self, other: i16x4) -> i16x4
[src]
fn ne(self, other: i16x4) -> i16x4
[src]
fn lt(self, other: i16x4) -> i16x4
[src]
fn le(self, other: i16x4) -> i16x4
[src]
fn gt(self, other: i16x4) -> i16x4
[src]
fn ge(self, other: i16x4) -> i16x4
[src]
impl i16x4
[src]
impl i16x4
[src]
Trait Implementations
impl Clone for i16x4
[src]
fn clone(&self) -> i16x4
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for i16x4
[src]
impl Debug for i16x4
[src]
impl PartialEq for i16x4
[src]
fn eq(&self, __arg_0: &i16x4) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &i16x4) -> bool
[src]
This method tests for !=
.
impl From<u32x2> for i16x4
[src]
impl From<i32x2> for i16x4
[src]
impl From<u16x4> for i16x4
[src]
impl From<u8x8> for i16x4
[src]
impl From<i8x8> for i16x4
[src]
impl Add for i16x4
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
Performs the +
operation.
impl Sub for i16x4
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
Performs the -
operation.
impl Mul for i16x4
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
Performs the *
operation.
impl BitAnd for i16x4
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, other: Self) -> Self
[src]
Performs the &
operation.
impl BitOr for i16x4
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, other: Self) -> Self
[src]
Performs the |
operation.
impl BitXor for i16x4
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, other: Self) -> Self
[src]
Performs the ^
operation.
impl Not for i16x4
[src]
type Output = Self
The resulting type after applying the !
operator.
fn not(self) -> Self
[src]
Performs the unary !
operation.
impl Shl<u8> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u8) -> Self
[src]
Performs the <<
operation.
impl Shr<u8> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u8) -> Self
[src]
Performs the >>
operation.
impl Shl<u16> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u16) -> Self
[src]
Performs the <<
operation.
impl Shr<u16> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u16) -> Self
[src]
Performs the >>
operation.
impl Shl<u32> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u32) -> Self
[src]
Performs the <<
operation.
impl Shr<u32> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u32) -> Self
[src]
Performs the >>
operation.
impl Shl<u64> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: u64) -> Self
[src]
Performs the <<
operation.
impl Shr<u64> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: u64) -> Self
[src]
Performs the >>
operation.
impl Shl<usize> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: usize) -> Self
[src]
Performs the <<
operation.
impl Shr<usize> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: usize) -> Self
[src]
Performs the >>
operation.
impl Shl<i8> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i8) -> Self
[src]
Performs the <<
operation.
impl Shr<i8> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i8) -> Self
[src]
Performs the >>
operation.
impl Shl<i16> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i16) -> Self
[src]
Performs the <<
operation.
impl Shr<i16> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i16) -> Self
[src]
Performs the >>
operation.
impl Shl<i32> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i32) -> Self
[src]
Performs the <<
operation.
impl Shr<i32> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i32) -> Self
[src]
Performs the >>
operation.
impl Shl<i64> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: i64) -> Self
[src]
Performs the <<
operation.
impl Shr<i64> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: i64) -> Self
[src]
Performs the >>
operation.
impl Shl<isize> for i16x4
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, other: isize) -> Self
[src]
Performs the <<
operation.
impl Shr<isize> for i16x4
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, other: isize) -> Self
[src]
Performs the >>
operation.