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