#[repr(C, align(16))]pub struct i8x16 { /* private fields */ }
Implementations
sourceimpl i8x16
impl i8x16
pub const ONE: i8x16 = unsafe { ConstUnionHack128bit{i8a16: [1; 16],}.i8x16 }
pub const ZERO: i8x16 = unsafe { ConstUnionHack128bit{i8a16: [0; 16],}.i8x16 }
pub const MAX: i8x16 = unsafe { ConstUnionHack128bit{i8a16: [i8::MAX; 16],}.i8x16 }
pub const MIN: i8x16 = unsafe { ConstUnionHack128bit{i8a16: [i8::MIN; 16],}.i8x16 }
sourceimpl i8x16
impl i8x16
pub fn new(array: [i8; 16]) -> Self
pub fn blend(self, t: Self, f: Self) -> Self
pub fn abs(self) -> Self
pub fn max(self, rhs: Self) -> Self
pub fn min(self, rhs: Self) -> Self
pub fn move_mask(self) -> i32
pub fn any(self) -> bool
pub fn all(self) -> bool
pub fn none(self) -> bool
pub fn to_array(self) -> [i8; 16]
pub fn as_array_ref(&self) -> &[i8; 16]
Trait Implementations
sourceimpl AddAssign<&i8x16> for i8x16
impl AddAssign<&i8x16> for i8x16
sourcefn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the +=
operation. Read more
sourceimpl AddAssign<i8x16> for i8x16
impl AddAssign<i8x16> for i8x16
sourcefn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the +=
operation. Read more
sourceimpl BitAndAssign<&i8x16> for i8x16
impl BitAndAssign<&i8x16> for i8x16
sourcefn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
Performs the &=
operation. Read more
sourceimpl BitAndAssign<i8x16> for i8x16
impl BitAndAssign<i8x16> for i8x16
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the &=
operation. Read more
sourceimpl BitOrAssign<&i8x16> for i8x16
impl BitOrAssign<&i8x16> for i8x16
sourcefn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
Performs the |=
operation. Read more
sourceimpl BitOrAssign<i8x16> for i8x16
impl BitOrAssign<i8x16> for i8x16
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the |=
operation. Read more
sourceimpl BitXorAssign<&i8x16> for i8x16
impl BitXorAssign<&i8x16> for i8x16
sourcefn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
Performs the ^=
operation. Read more
sourceimpl BitXorAssign<i8x16> for i8x16
impl BitXorAssign<i8x16> for i8x16
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the ^=
operation. Read more
sourceimpl SubAssign<&i8x16> for i8x16
impl SubAssign<&i8x16> for i8x16
sourcefn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the -=
operation. Read more
sourceimpl SubAssign<i8x16> for i8x16
impl SubAssign<i8x16> for i8x16
sourcefn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the -=
operation. Read more
impl Copy for i8x16
impl Eq for i8x16
impl Pod for i8x16
impl StructuralEq for i8x16
impl StructuralPartialEq for i8x16
Auto Trait Implementations
impl RefUnwindSafe for i8x16
impl Send for i8x16
impl Sync for i8x16
impl Unpin for i8x16
impl UnwindSafe for i8x16
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