Struct ssimd::i8x32
[−]
[src]
#[repr(packed)]pub struct i8x32(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _);
Methods
impl i8x32
[src]
fn new(
x0: i8,
x1: i8,
x2: i8,
x3: i8,
x4: i8,
x5: i8,
x6: i8,
x7: i8,
x8: i8,
x9: i8,
x10: i8,
x11: i8,
x12: i8,
x13: i8,
x14: i8,
x15: i8,
x16: i8,
x17: i8,
x18: i8,
x19: i8,
x20: i8,
x21: i8,
x22: i8,
x23: i8,
x24: i8,
x25: i8,
x26: i8,
x27: i8,
x28: i8,
x29: i8,
x30: i8,
x31: i8
) -> Self
[src]
x0: i8,
x1: i8,
x2: i8,
x3: i8,
x4: i8,
x5: i8,
x6: i8,
x7: i8,
x8: i8,
x9: i8,
x10: i8,
x11: i8,
x12: i8,
x13: i8,
x14: i8,
x15: i8,
x16: i8,
x17: i8,
x18: i8,
x19: i8,
x20: i8,
x21: i8,
x22: i8,
x23: i8,
x24: i8,
x25: i8,
x26: i8,
x27: i8,
x28: i8,
x29: i8,
x30: i8,
x31: i8
) -> Self
Create new instance
fn splat(x: i8) -> Self
[src]
Create new instance with all lanes set to a value
fn extract(self, idx: u32) -> i8
[src]
Get the idx
th lane value
fn replace(self, idx: u32, elem: i8) -> Self
[src]
Replace the idx
th lane with new value
fn load(array: &[i8], idx: usize) -> Self
[src]
Load instance from an array
fn store(self, array: &mut [i8], idx: usize)
[src]
Store self to an array
fn eq(self, rhs: Self) -> bool8x32
[src]
Compare if equal
fn ne(self, rhs: Self) -> bool8x32
[src]
Compare if not equal
fn lt(self, rhs: Self) -> bool8x32
[src]
Compare if less than
fn le(self, rhs: Self) -> bool8x32
[src]
Compare if less than or equal
fn gt(self, rhs: Self) -> bool8x32
[src]
Compare if greater than
fn ge(self, rhs: Self) -> bool8x32
[src]
Compare if greater than or equal
fn max(self, rhs: Self) -> Self
[src]
Get max values by lane
fn min(self, rhs: Self) -> Self
[src]
Get min values by lane
impl i8x32
[src]
fn select(&self, then: Self, else_: Self) -> Self
[src]
Select between elements of then
and else_
, based on
the corresponding element of self
.
Equivalent to:
T::new(if self.0 { then.0 } else { else_.0 },
if self.1 { then.1 } else { else_.1 },
...)
Trait Implementations
impl Debug for i8x32
[src]
impl Clone for i8x32
[src]
fn clone(&self) -> i8x32
[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 i8x32
[src]
impl Add for i8x32
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
Performs the +
operation.
impl Sub for i8x32
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self
[src]
Performs the -
operation.
impl Mul for i8x32
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
Performs the *
operation.
impl Div for i8x32
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self
[src]
Performs the /
operation.
impl BitAnd for i8x32
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
Performs the &
operation.
impl BitOr for i8x32
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
Performs the |
operation.
impl BitXor for i8x32
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self
[src]
Performs the ^
operation.
impl Not for i8x32
[src]
type Output = Self
The resulting type after applying the !
operator.
fn not(self) -> Self
[src]
Performs the unary !
operation.
impl Shl<usize> for i8x32
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, sz: usize) -> Self
[src]
Performs the <<
operation.