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