Struct pathfinder_simd::x86::U32x2
source · pub struct U32x2(pub u64);
Tuple Fields§
§0: u64
Implementations§
source§impl U32x2
impl U32x2
pub fn new(x: u32, y: u32) -> U32x2
pub fn splat(x: u32) -> U32x2
sourcepub fn all_true(self) -> bool
pub fn all_true(self) -> bool
Returns true if both booleans in this vector are true.
The result is undefined if both 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 both booleans in this vector are false.
The result is undefined if both 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 to_i32x2(self) -> I32x2
Trait Implementations§
impl Copy for U32x2
Auto Trait Implementations§
impl Freeze for U32x2
impl RefUnwindSafe for U32x2
impl Send for U32x2
impl Sync for U32x2
impl Unpin for U32x2
impl UnwindSafe for U32x2
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