#[repr(C, align(16))]pub struct u8x16 { /* private fields */ }
Implementations§
source§impl u8x16
impl u8x16
pub fn new(array: [u8; 16]) -> Self
pub fn cmp_eq(self, rhs: Self) -> Self
pub fn blend(self, t: Self, f: Self) -> Self
pub fn max(self, rhs: Self) -> Self
pub fn min(self, rhs: Self) -> Self
pub fn saturating_add(self, rhs: Self) -> Self
pub fn saturating_sub(self, rhs: Self) -> Self
sourcepub fn unpack_low(lhs: u8x16, rhs: u8x16) -> u8x16
pub fn unpack_low(lhs: u8x16, rhs: u8x16) -> u8x16
Unpack and interleave low lanes of two u8x16
sourcepub fn unpack_high(lhs: u8x16, rhs: u8x16) -> u8x16
pub fn unpack_high(lhs: u8x16, rhs: u8x16) -> u8x16
Unpack and interleave high lanes of two u8x16
sourcepub fn narrow_i16x8(lhs: i16x8, rhs: i16x8) -> Self
pub fn narrow_i16x8(lhs: i16x8, rhs: i16x8) -> Self
Pack and saturate two i16x8
to u8x16
pub fn to_array(self) -> [u8; 16]
pub fn as_array_ref(&self) -> &[u8; 16]
pub fn as_array_mut(&mut self) -> &mut [u8; 16]
Trait Implementations§
source§impl AddAssign<&u8x16> for u8x16
impl AddAssign<&u8x16> for u8x16
source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the
+=
operation. Read moresource§impl AddAssign for u8x16
impl AddAssign for u8x16
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl BitAndAssign<&u8x16> for u8x16
impl BitAndAssign<&u8x16> for u8x16
source§fn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
Performs the
&=
operation. Read moresource§impl BitAndAssign for u8x16
impl BitAndAssign for u8x16
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign<&u8x16> for u8x16
impl BitOrAssign<&u8x16> for u8x16
source§fn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
Performs the
|=
operation. Read moresource§impl BitOrAssign for u8x16
impl BitOrAssign for u8x16
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign<&u8x16> for u8x16
impl BitXorAssign<&u8x16> for u8x16
source§fn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
Performs the
^=
operation. Read moresource§impl BitXorAssign for u8x16
impl BitXorAssign for u8x16
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl SubAssign<&u8x16> for u8x16
impl SubAssign<&u8x16> for u8x16
source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the
-=
operation. Read moresource§impl SubAssign for u8x16
impl SubAssign for u8x16
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for u8x16
impl Eq for u8x16
impl Pod for u8x16
impl StructuralPartialEq for u8x16
Auto Trait Implementations§
impl Freeze for u8x16
impl RefUnwindSafe for u8x16
impl Send for u8x16
impl Sync for u8x16
impl Unpin for u8x16
impl UnwindSafe for u8x16
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)