Struct pathfinder_simd::x86::U32x4
source · pub struct U32x4(pub __m128i);
Tuple Fields§
§0: __m128i
Implementations§
source§impl U32x4
impl U32x4
pub fn new(a: u32, b: u32, c: u32, d: u32) -> U32x4
pub fn splat(x: u32) -> U32x4
sourcepub fn to_i32x4(self) -> I32x4
pub fn to_i32x4(self) -> I32x4
Converts these packed unsigned integers to signed integers.
Overflowing values will wrap around.
sourcepub fn all_true(self) -> bool
pub fn all_true(self) -> bool
Returns true if all four booleans in this vector are true.
The result is undefined if all four values in this vector are not booleans. A boolean is a value with all bits set or all bits clear (i.e. !0 or 0).
sourcepub fn all_false(self) -> bool
pub fn all_false(self) -> bool
Returns true if all four booleans in this vector are false.
The result is undefined if all four values in this vector are not booleans. A boolean is a value with all bits set or all bits clear (i.e. !0 or 0).
pub fn xy(self) -> U32x2
pub fn packed_eq(self, other: U32x4) -> U32x4
Trait Implementations§
source§impl PartialEq for U32x4
impl PartialEq for U32x4
impl Copy for U32x4
Auto Trait Implementations§
impl Freeze for U32x4
impl RefUnwindSafe for U32x4
impl Send for U32x4
impl Sync for U32x4
impl Unpin for U32x4
impl UnwindSafe for U32x4
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more