#[repr(C, align(16))]pub struct u8x16 { /* private fields */ }
Implementations
sourceimpl u8x16
impl u8x16
pub const ONE: u8x16 = unsafe { ConstUnionHack128bit{u8a16: [1; 16],}.u8x16 }
pub const ZERO: u8x16 = unsafe { ConstUnionHack128bit{u8a16: [0; 16],}.u8x16 }
pub const MAX: u8x16 = unsafe { ConstUnionHack128bit{u8a16: [u8::MAX; 16],}.u8x16 }
pub const MIN: u8x16 = unsafe { ConstUnionHack128bit{u8a16: [u8::MIN; 16],}.u8x16 }
sourceimpl 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 to_array(self) -> [u8; 16]
pub fn as_array_ref(&self) -> &[u8; 16]
Trait Implementations
sourceimpl AddAssign<&u8x16> for u8x16
impl AddAssign<&u8x16> for u8x16
sourcefn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the +=
operation. Read more
sourceimpl AddAssign<u8x16> for u8x16
impl AddAssign<u8x16> for u8x16
sourcefn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the +=
operation. Read more
sourceimpl BitAndAssign<&u8x16> for u8x16
impl BitAndAssign<&u8x16> for u8x16
sourcefn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
Performs the &=
operation. Read more
sourceimpl BitAndAssign<u8x16> for u8x16
impl BitAndAssign<u8x16> for u8x16
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the &=
operation. Read more
sourceimpl BitOrAssign<&u8x16> for u8x16
impl BitOrAssign<&u8x16> for u8x16
sourcefn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
Performs the |=
operation. Read more
sourceimpl BitOrAssign<u8x16> for u8x16
impl BitOrAssign<u8x16> for u8x16
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the |=
operation. Read more
sourceimpl BitXorAssign<&u8x16> for u8x16
impl BitXorAssign<&u8x16> for u8x16
sourcefn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
Performs the ^=
operation. Read more
sourceimpl BitXorAssign<u8x16> for u8x16
impl BitXorAssign<u8x16> for u8x16
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the ^=
operation. Read more
sourceimpl SubAssign<&u8x16> for u8x16
impl SubAssign<&u8x16> for u8x16
sourcefn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the -=
operation. Read more
sourceimpl SubAssign<u8x16> for u8x16
impl SubAssign<u8x16> for u8x16
sourcefn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the -=
operation. Read more
impl Copy for u8x16
impl Eq for u8x16
impl Pod for u8x16
impl StructuralEq for u8x16
impl StructuralPartialEq for u8x16
Auto Trait Implementations
impl RefUnwindSafe for u8x16
impl Send for u8x16
impl Sync for u8x16
impl Unpin for u8x16
impl UnwindSafe for u8x16
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for T where
T: AnyBitPattern,
impl<T> CheckedBitPattern for T where
T: AnyBitPattern,
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
. Read more
sourcefn 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
. Read more