Struct std::simd::b8x64
[−]
[src]
#[repr(simd)]pub struct b8x64(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _);
A 512-bit vector with 64 bool lanes.
Methods
impl b8x64[src]
impl b8x64pub const fn new(
x0: bool,
x1: bool,
x2: bool,
x3: bool,
x4: bool,
x5: bool,
x6: bool,
x7: bool,
x8: bool,
x9: bool,
x10: bool,
x11: bool,
x12: bool,
x13: bool,
x14: bool,
x15: bool,
x16: bool,
x17: bool,
x18: bool,
x19: bool,
x20: bool,
x21: bool,
x22: bool,
x23: bool,
x24: bool,
x25: bool,
x26: bool,
x27: bool,
x28: bool,
x29: bool,
x30: bool,
x31: bool,
x32: bool,
x33: bool,
x34: bool,
x35: bool,
x36: bool,
x37: bool,
x38: bool,
x39: bool,
x40: bool,
x41: bool,
x42: bool,
x43: bool,
x44: bool,
x45: bool,
x46: bool,
x47: bool,
x48: bool,
x49: bool,
x50: bool,
x51: bool,
x52: bool,
x53: bool,
x54: bool,
x55: bool,
x56: bool,
x57: bool,
x58: bool,
x59: bool,
x60: bool,
x61: bool,
x62: bool,
x63: bool
) -> b8x64[src]
pub const fn new(
x0: bool,
x1: bool,
x2: bool,
x3: bool,
x4: bool,
x5: bool,
x6: bool,
x7: bool,
x8: bool,
x9: bool,
x10: bool,
x11: bool,
x12: bool,
x13: bool,
x14: bool,
x15: bool,
x16: bool,
x17: bool,
x18: bool,
x19: bool,
x20: bool,
x21: bool,
x22: bool,
x23: bool,
x24: bool,
x25: bool,
x26: bool,
x27: bool,
x28: bool,
x29: bool,
x30: bool,
x31: bool,
x32: bool,
x33: bool,
x34: bool,
x35: bool,
x36: bool,
x37: bool,
x38: bool,
x39: bool,
x40: bool,
x41: bool,
x42: bool,
x43: bool,
x44: bool,
x45: bool,
x46: bool,
x47: bool,
x48: bool,
x49: bool,
x50: bool,
x51: bool,
x52: bool,
x53: bool,
x54: bool,
x55: bool,
x56: bool,
x57: bool,
x58: bool,
x59: bool,
x60: bool,
x61: bool,
x62: bool,
x63: bool
) -> b8x64Creates 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) -> b8x64[src]
pub const fn splat(value: bool) -> b8x64Constructs 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) -> b8x64[src]
pub fn replace(self, index: usize, new_value: bool) -> b8x64Returns 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) -> b8x64[src]
pub unsafe fn replace_unchecked(self, index: usize, new_value: bool) -> b8x64Returns a new vector where the value at index is replaced by new_value.
Panics
If index >= Self::lanes().
impl b8x64[src]
impl b8x64pub 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 b8x64[src]
impl b8x64pub 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 b8x64[src]
impl b8x64pub fn eq(self, other: b8x64) -> b8x64[src]
pub fn eq(self, other: b8x64) -> b8x64Lane-wise equality comparison.
pub fn ne(self, other: b8x64) -> b8x64[src]
pub fn ne(self, other: b8x64) -> b8x64Lane-wise inequality comparison.
pub fn lt(self, other: b8x64) -> b8x64[src]
pub fn lt(self, other: b8x64) -> b8x64Lane-wise less-than comparison.
pub fn le(self, other: b8x64) -> b8x64[src]
pub fn le(self, other: b8x64) -> b8x64Lane-wise less-than-or-equals comparison.
pub fn gt(self, other: b8x64) -> b8x64[src]
pub fn gt(self, other: b8x64) -> b8x64Lane-wise greater-than comparison.
pub fn ge(self, other: b8x64) -> b8x64[src]
pub fn ge(self, other: b8x64) -> b8x64Lane-wise greater-than-or-equals comparison.
Trait Implementations
impl PartialEq<b8x64> for b8x64[src]
impl PartialEq<b8x64> for b8x64fn eq(&self, other: &b8x64) -> bool[src]
fn eq(&self, other: &b8x64) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &b8x64) -> bool[src]
fn ne(&self, other: &b8x64) -> boolThis method tests for !=.
impl PartialOrd<b8x64> for b8x64[src]
impl PartialOrd<b8x64> for b8x64fn partial_cmp(&self, __arg_0: &b8x64) -> Option<Ordering>[src]
fn partial_cmp(&self, __arg_0: &b8x64) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &b8x64) -> bool[src]
fn lt(&self, __arg_0: &b8x64) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &b8x64) -> bool[src]
fn le(&self, __arg_0: &b8x64) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &b8x64) -> bool[src]
fn gt(&self, __arg_0: &b8x64) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &b8x64) -> bool[src]
fn ge(&self, __arg_0: &b8x64) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Default for b8x64[src]
impl Default for b8x64impl BitXorAssign<b8x64> for b8x64[src]
impl BitXorAssign<b8x64> for b8x64fn bitxor_assign(&mut self, other: b8x64)[src]
fn bitxor_assign(&mut self, other: b8x64)Performs the ^= operation.
impl BitAnd<b8x64> for b8x64[src]
impl BitAnd<b8x64> for b8x64type Output = b8x64
The resulting type after applying the & operator.
fn bitand(self, other: b8x64) -> b8x64[src]
fn bitand(self, other: b8x64) -> b8x64Performs the & operation.
impl FromBits<b8x64> for u64x8[src]
impl FromBits<b8x64> for u64x8impl FromBits<b8x64> for u32x16[src]
impl FromBits<b8x64> for u32x16impl FromBits<b8x64> for u16x32[src]
impl FromBits<b8x64> for u16x32impl FromBits<b8x64> for u8x64[src]
impl FromBits<b8x64> for u8x64impl FromBits<b8x64> for f32x16[src]
impl FromBits<b8x64> for f32x16impl FromBits<b8x64> for i64x8[src]
impl FromBits<b8x64> for i64x8impl FromBits<b8x64> for i16x32[src]
impl FromBits<b8x64> for i16x32impl FromBits<b8x64> for i8x64[src]
impl FromBits<b8x64> for i8x64impl FromBits<b8x64> for f64x8[src]
impl FromBits<b8x64> for f64x8impl FromBits<b8x64> for i32x16[src]
impl FromBits<b8x64> for i32x16impl BitXor<b8x64> for b8x64[src]
impl BitXor<b8x64> for b8x64type Output = b8x64
The resulting type after applying the ^ operator.
fn bitxor(self, other: b8x64) -> b8x64[src]
fn bitxor(self, other: b8x64) -> b8x64Performs the ^ operation.
impl Debug for b8x64[src]
impl Debug for b8x64fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl BitOrAssign<b8x64> for b8x64[src]
impl BitOrAssign<b8x64> for b8x64fn bitor_assign(&mut self, other: b8x64)[src]
fn bitor_assign(&mut self, other: b8x64)Performs the |= operation.
impl Copy for b8x64[src]
impl Copy for b8x64impl Not for b8x64[src]
impl Not for b8x64type Output = b8x64
The resulting type after applying the ! operator.
fn not(self) -> b8x64[src]
fn not(self) -> b8x64Performs the unary ! operation.
impl Eq for b8x64[src]
impl Eq for b8x64impl Clone for b8x64[src]
impl Clone for b8x64fn clone(&self) -> b8x64[src]
fn clone(&self) -> b8x64Returns 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 BitOr<b8x64> for b8x64[src]
impl BitOr<b8x64> for b8x64type Output = b8x64
The resulting type after applying the | operator.
fn bitor(self, other: b8x64) -> b8x64[src]
fn bitor(self, other: b8x64) -> b8x64Performs the | operation.
impl BitAndAssign<b8x64> for b8x64[src]
impl BitAndAssign<b8x64> for b8x64fn bitand_assign(&mut self, other: b8x64)[src]
fn bitand_assign(&mut self, other: b8x64)Performs the &= operation.