Struct std::simd::m16x8 [−][src]
#[repr(simd)]pub struct m16x8(_, _, _, _, _, _, _, _);
A 128-bit vector mask with 8 lanes.
Methods
impl m16x8[src]
impl m16x8pub const fn new(
x0: bool,
x1: bool,
x2: bool,
x3: bool,
x4: bool,
x5: bool,
x6: bool,
x7: bool
) -> m16x8[src]
pub const fn new(
x0: bool,
x1: bool,
x2: bool,
x3: bool,
x4: bool,
x5: bool,
x6: bool,
x7: bool
) -> m16x8Creates a new instance with each vector elements initialized with the provided values.
pub const fn lanes() -> usize[src]
pub const fn lanes() -> usizeReturns the number of vector lanes.
pub const fn splat(value: bool) -> m16x8[src]
pub const fn splat(value: bool) -> m16x8Constructs a new instance with each element initialized to
value.
pub fn extract(self, index: usize) -> bool[src]
pub fn extract(self, index: usize) -> boolpub unsafe fn extract_unchecked(self, index: usize) -> bool[src]
pub unsafe fn extract_unchecked(self, index: usize) -> boolExtracts the value at index.
If index >= Self::lanes() the behavior is undefined.
pub fn replace(self, index: usize, new_value: bool) -> m16x8[src]
pub fn replace(self, index: usize, new_value: bool) -> m16x8Returns 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: bool) -> m16x8[src]
pub unsafe fn replace_unchecked(self, index: usize, new_value: bool) -> m16x8Returns a new vector where the value at index is replaced by new_value.
Panics
If index >= Self::lanes().
impl m16x8[src]
impl m16x8pub fn and(self) -> bool[src]
pub fn and(self) -> boolLane-wise bitwise and of the vector elements.
pub fn or(self) -> bool[src]
pub fn or(self) -> boolLane-wise bitwise or of the vector elements.
pub fn xor(self) -> bool[src]
pub fn xor(self) -> boolLane-wise bitwise xor of the vector elements.
impl m16x8[src]
impl m16x8pub fn all(self) -> bool[src]
pub fn all(self) -> boolAre all vector lanes true?
pub fn any(self) -> bool[src]
pub fn any(self) -> boolIs any vector lanes true?
pub fn none(self) -> bool[src]
pub fn none(self) -> boolAre all vector lanes false?
impl m16x8[src]
impl m16x8pub fn select<T>(self, a: T, b: T) -> T where
T: Lanes<[u32; 8]>, [src]
pub fn select<T>(self, a: T, b: T) -> T where
T: Lanes<[u32; 8]>, Selects elements of a and b using mask.
For each lane, the result contains the element of a if the
mask is true, and the element of b otherwise.
impl m16x8[src]
impl m16x8pub fn eq(self, other: m16x8) -> m16x8[src]
pub fn eq(self, other: m16x8) -> m16x8Lane-wise equality comparison.
pub fn ne(self, other: m16x8) -> m16x8[src]
pub fn ne(self, other: m16x8) -> m16x8Lane-wise inequality comparison.
pub fn lt(self, other: m16x8) -> m16x8[src]
pub fn lt(self, other: m16x8) -> m16x8Lane-wise less-than comparison.
pub fn le(self, other: m16x8) -> m16x8[src]
pub fn le(self, other: m16x8) -> m16x8Lane-wise less-than-or-equals comparison.
pub fn gt(self, other: m16x8) -> m16x8[src]
pub fn gt(self, other: m16x8) -> m16x8Lane-wise greater-than comparison.
pub fn ge(self, other: m16x8) -> m16x8[src]
pub fn ge(self, other: m16x8) -> m16x8Lane-wise greater-than-or-equals comparison.
Trait Implementations
impl From<m16x8> for m8x8[src]
impl From<m16x8> for m8x8impl From<m16x8> for i8x8[src]
impl From<m16x8> for i8x8impl From<m16x8> for u16x8[src]
impl From<m16x8> for u16x8impl From<m16x8> for u64x8[src]
impl From<m16x8> for u64x8impl From<m16x8> for f32x8[src]
impl From<m16x8> for f32x8impl From<m8x8> for m16x8[src]
impl From<m8x8> for m16x8impl From<m16x8> for u32x8[src]
impl From<m16x8> for u32x8impl From<m16x8> for u8x8[src]
impl From<m16x8> for u8x8impl From<m16x8> for m1x8[src]
impl From<m16x8> for m1x8impl From<m16x8> for i16x8[src]
impl From<m16x8> for i16x8impl From<m16x8> for i64x8[src]
impl From<m16x8> for i64x8impl From<m16x8> for f64x8[src]
impl From<m16x8> for f64x8impl From<m1x8> for m16x8[src]
impl From<m1x8> for m16x8impl From<m16x8> for m32x8[src]
impl From<m16x8> for m32x8impl From<m32x8> for m16x8[src]
impl From<m32x8> for m16x8impl From<m16x8> for i32x8[src]
impl From<m16x8> for i32x8impl FromBits<m16x8> for i8x16[src]
impl FromBits<m16x8> for i8x16impl FromBits<m16x8> for u16x8[src]
impl FromBits<m16x8> for u16x8impl FromBits<m16x8> for i64x2[src]
impl FromBits<m16x8> for i64x2impl FromBits<m16x8> for i16x8[src]
impl FromBits<m16x8> for i16x8impl FromBits<m16x8> for u32x4[src]
impl FromBits<m16x8> for u32x4impl FromBits<m16x8> for f32x4[src]
impl FromBits<m16x8> for f32x4impl FromBits<m16x8> for i32x4[src]
impl FromBits<m16x8> for i32x4impl FromBits<m16x8> for u64x2[src]
impl FromBits<m16x8> for u64x2impl FromBits<m16x8> for u8x16[src]
impl FromBits<m16x8> for u8x16impl FromBits<m16x8> for f64x2[src]
impl FromBits<m16x8> for f64x2impl BitOrAssign<bool> for m16x8[src]
impl BitOrAssign<bool> for m16x8fn bitor_assign(&mut self, other: bool)[src]
fn bitor_assign(&mut self, other: bool)Performs the |= operation.
impl BitOrAssign<m16x8> for m16x8[src]
impl BitOrAssign<m16x8> for m16x8fn bitor_assign(&mut self, other: m16x8)[src]
fn bitor_assign(&mut self, other: m16x8)Performs the |= operation.
impl Default for m16x8[src]
impl Default for m16x8impl PartialEq<m16x8> for m16x8[src]
impl PartialEq<m16x8> for m16x8fn eq(&self, other: &m16x8) -> bool[src]
fn eq(&self, other: &m16x8) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &m16x8) -> bool[src]
fn ne(&self, other: &m16x8) -> boolThis method tests for !=.
impl Not for m16x8[src]
impl Not for m16x8type Output = m16x8
The resulting type after applying the ! operator.
fn not(self) -> m16x8[src]
fn not(self) -> m16x8Performs the unary ! operation.
impl PartialOrd<m16x8> for m16x8[src]
impl PartialOrd<m16x8> for m16x8fn partial_cmp(&self, other: &m16x8) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &m16x8) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &m16x8) -> bool[src]
fn lt(&self, other: &m16x8) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &m16x8) -> bool[src]
fn le(&self, other: &m16x8) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &m16x8) -> bool[src]
fn gt(&self, other: &m16x8) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &m16x8) -> bool[src]
fn ge(&self, other: &m16x8) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl BitOr<bool> for m16x8[src]
impl BitOr<bool> for m16x8type Output = m16x8
The resulting type after applying the | operator.
fn bitor(self, other: bool) -> m16x8[src]
fn bitor(self, other: bool) -> m16x8Performs the | operation.
impl BitOr<m16x8> for m16x8[src]
impl BitOr<m16x8> for m16x8type Output = m16x8
The resulting type after applying the | operator.
fn bitor(self, other: m16x8) -> m16x8[src]
fn bitor(self, other: m16x8) -> m16x8Performs the | operation.
impl BitOr<m16x8> for bool[src]
impl BitOr<m16x8> for booltype Output = m16x8
The resulting type after applying the | operator.
fn bitor(self, other: m16x8) -> m16x8[src]
fn bitor(self, other: m16x8) -> m16x8Performs the | operation.
impl BitAndAssign<bool> for m16x8[src]
impl BitAndAssign<bool> for m16x8fn bitand_assign(&mut self, other: bool)[src]
fn bitand_assign(&mut self, other: bool)Performs the &= operation.
impl BitAndAssign<m16x8> for m16x8[src]
impl BitAndAssign<m16x8> for m16x8fn bitand_assign(&mut self, other: m16x8)[src]
fn bitand_assign(&mut self, other: m16x8)Performs the &= operation.
impl Debug for m16x8[src]
impl Debug for m16x8fn 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 BitXorAssign<bool> for m16x8[src]
impl BitXorAssign<bool> for m16x8fn bitxor_assign(&mut self, other: bool)[src]
fn bitxor_assign(&mut self, other: bool)Performs the ^= operation.
impl BitXorAssign<m16x8> for m16x8[src]
impl BitXorAssign<m16x8> for m16x8fn bitxor_assign(&mut self, other: m16x8)[src]
fn bitxor_assign(&mut self, other: m16x8)Performs the ^= operation.
impl BitAnd<bool> for m16x8[src]
impl BitAnd<bool> for m16x8type Output = m16x8
The resulting type after applying the & operator.
fn bitand(self, other: bool) -> m16x8[src]
fn bitand(self, other: bool) -> m16x8Performs the & operation.
impl BitAnd<m16x8> for m16x8[src]
impl BitAnd<m16x8> for m16x8type Output = m16x8
The resulting type after applying the & operator.
fn bitand(self, other: m16x8) -> m16x8[src]
fn bitand(self, other: m16x8) -> m16x8Performs the & operation.
impl BitAnd<m16x8> for bool[src]
impl BitAnd<m16x8> for booltype Output = m16x8
The resulting type after applying the & operator.
fn bitand(self, other: m16x8) -> m16x8[src]
fn bitand(self, other: m16x8) -> m16x8Performs the & operation.
impl Copy for m16x8[src]
impl Copy for m16x8impl Eq for m16x8[src]
impl Eq for m16x8impl BitXor<m16x8> for m16x8[src]
impl BitXor<m16x8> for m16x8type Output = m16x8
The resulting type after applying the ^ operator.
fn bitxor(self, other: m16x8) -> m16x8[src]
fn bitxor(self, other: m16x8) -> m16x8Performs the ^ operation.
impl BitXor<bool> for m16x8[src]
impl BitXor<bool> for m16x8type Output = m16x8
The resulting type after applying the ^ operator.
fn bitxor(self, other: bool) -> m16x8[src]
fn bitxor(self, other: bool) -> m16x8Performs the ^ operation.
impl BitXor<m16x8> for bool[src]
impl BitXor<m16x8> for booltype Output = m16x8
The resulting type after applying the ^ operator.
fn bitxor(self, other: m16x8) -> m16x8[src]
fn bitxor(self, other: m16x8) -> m16x8Performs the ^ operation.
impl Clone for m16x8[src]
impl Clone for m16x8