Type Definition packed_simd_2::m8x64 [−][src]
type m8x64 = Simd<[m8; 64]>;
Expand description
A 512-bit vector mask with 64 m8
lanes.
Implementations
impl m8x64
[src]
impl m8x64
[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
) -> Self
[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
) -> Self
[src]Creates a new instance with each vector elements initialized with the provided values.
pub const fn splat(value: bool) -> Self
[src]
pub const fn splat(value: bool) -> Self
[src]Constructs a new instance with each element initialized to
value
.
pub unsafe fn extract_unchecked(self, index: usize) -> bool
[src]
pub unsafe fn extract_unchecked(self, index: usize) -> bool
[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: bool) -> 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: bool) -> Self
[src]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: bool) -> 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: bool) -> Self
[src]Returns a new vector where the value at index
is replaced by
new_value
.
Safety
If index >= Self::lanes()
the behavior is undefined.
impl m8x64
[src]
impl m8x64
[src]pub fn and(self) -> bool
[src]
pub fn and(self) -> bool
[src]Lane-wise bitwise and
of the vector elements.
Note: if the vector has one lane, the first element of the vector is returned.
impl m8x64
[src]
impl m8x64
[src]impl m8x64
[src]
impl m8x64
[src]impl m8x64
[src]
impl m8x64
[src]impl m8x64
[src]
impl m8x64
[src]pub fn partial_lex_ord(&self) -> LexicographicallyOrdered<m8x64>
[src]
pub fn partial_lex_ord(&self) -> LexicographicallyOrdered<m8x64>
[src]Returns a wrapper that implements PartialOrd
.
impl m8x64
[src]
impl m8x64
[src]pub fn lex_ord(&self) -> LexicographicallyOrdered<m8x64>
[src]
pub fn lex_ord(&self) -> LexicographicallyOrdered<m8x64>
[src]Returns a wrapper that implements Ord
.
impl m8x64
[src]
impl m8x64
[src]pub fn shuffle1_dyn<I>(self, indices: I) -> Self where
Self: Shuffle1Dyn<Indices = I>,
[src]
pub fn shuffle1_dyn<I>(self, indices: I) -> Self where
Self: Shuffle1Dyn<Indices = I>,
[src]Shuffle vector elements according to indices
.
impl m8x64
[src]
impl m8x64
[src]Trait Implementations
impl BitAndAssign<Simd<[m8; 64]>> for m8x64
[src]
impl BitAndAssign<Simd<[m8; 64]>> for m8x64
[src]fn bitand_assign(&mut self, other: Self)
[src]
fn bitand_assign(&mut self, other: Self)
[src]Performs the &=
operation. Read more
impl BitAndAssign<bool> for m8x64
[src]
impl BitAndAssign<bool> for m8x64
[src]fn bitand_assign(&mut self, other: bool)
[src]
fn bitand_assign(&mut self, other: bool)
[src]Performs the &=
operation. Read more
impl BitOrAssign<Simd<[m8; 64]>> for m8x64
[src]
impl BitOrAssign<Simd<[m8; 64]>> for m8x64
[src]fn bitor_assign(&mut self, other: Self)
[src]
fn bitor_assign(&mut self, other: Self)
[src]Performs the |=
operation. Read more
impl BitOrAssign<bool> for m8x64
[src]
impl BitOrAssign<bool> for m8x64
[src]fn bitor_assign(&mut self, other: bool)
[src]
fn bitor_assign(&mut self, other: bool)
[src]Performs the |=
operation. Read more
impl BitXorAssign<Simd<[m8; 64]>> for m8x64
[src]
impl BitXorAssign<Simd<[m8; 64]>> for m8x64
[src]fn bitxor_assign(&mut self, other: Self)
[src]
fn bitxor_assign(&mut self, other: Self)
[src]Performs the ^=
operation. Read more
impl BitXorAssign<bool> for m8x64
[src]
impl BitXorAssign<bool> for m8x64
[src]fn bitxor_assign(&mut self, other: bool)
[src]
fn bitxor_assign(&mut self, other: bool)
[src]Performs the ^=
operation. Read more