#[repr(C, align(32))]pub struct i32x8 { /* private fields */ }
Implementations
sourceimpl i32x8
impl i32x8
pub const ONE: i32x8 = unsafe { ConstUnionHack256bit{i32a8: [1; 8],}.i32x8 }
pub const ZERO: i32x8 = unsafe { ConstUnionHack256bit{i32a8: [0; 8],}.i32x8 }
pub const MAX: i32x8 = unsafe { ConstUnionHack256bit{i32a8: [i32::MAX; 8],}.i32x8 }
pub const MIN: i32x8 = unsafe { ConstUnionHack256bit{i32a8: [i32::MIN; 8],}.i32x8 }
sourceimpl i32x8
impl i32x8
pub fn new(array: [i32; 8]) -> 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 round_float(self) -> f32x8
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) -> [i32; 8]
pub fn as_array_ref(&self) -> &[i32; 8]
Trait Implementations
sourceimpl AddAssign<&i32x8> for i32x8
impl AddAssign<&i32x8> for i32x8
sourcefn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the +=
operation. Read more
sourceimpl AddAssign<i32x8> for i32x8
impl AddAssign<i32x8> for i32x8
sourcefn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the +=
operation. Read more
sourceimpl BitAndAssign<&i32x8> for i32x8
impl BitAndAssign<&i32x8> for i32x8
sourcefn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
Performs the &=
operation. Read more
sourceimpl BitAndAssign<i32x8> for i32x8
impl BitAndAssign<i32x8> for i32x8
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the &=
operation. Read more
sourceimpl BitOrAssign<&i32x8> for i32x8
impl BitOrAssign<&i32x8> for i32x8
sourcefn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
Performs the |=
operation. Read more
sourceimpl BitOrAssign<i32x8> for i32x8
impl BitOrAssign<i32x8> for i32x8
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the |=
operation. Read more
sourceimpl BitXorAssign<&i32x8> for i32x8
impl BitXorAssign<&i32x8> for i32x8
sourcefn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
Performs the ^=
operation. Read more
sourceimpl BitXorAssign<i32x8> for i32x8
impl BitXorAssign<i32x8> for i32x8
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the ^=
operation. Read more
sourceimpl MulAssign<&i32x8> for i32x8
impl MulAssign<&i32x8> for i32x8
sourcefn mul_assign(&mut self, rhs: &Self)
fn mul_assign(&mut self, rhs: &Self)
Performs the *=
operation. Read more
sourceimpl MulAssign<i32x8> for i32x8
impl MulAssign<i32x8> for i32x8
sourcefn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the *=
operation. Read more
sourceimpl SubAssign<&i32x8> for i32x8
impl SubAssign<&i32x8> for i32x8
sourcefn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the -=
operation. Read more
sourceimpl SubAssign<i32x8> for i32x8
impl SubAssign<i32x8> for i32x8
sourcefn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the -=
operation. Read more
impl Copy for i32x8
impl Eq for i32x8
impl Pod for i32x8
impl StructuralEq for i32x8
impl StructuralPartialEq for i32x8
Auto Trait Implementations
impl RefUnwindSafe for i32x8
impl Send for i32x8
impl Sync for i32x8
impl Unpin for i32x8
impl UnwindSafe for i32x8
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