Struct pathfinder_simd::scalar::U32x4
source · pub struct U32x4(pub [u32; 4]);
Tuple Fields§
§0: [u32; 4]
Implementations§
source§impl U32x4
impl U32x4
pub fn new(a: u32, b: u32, c: u32, d: 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.
FIXME(pcwalton): Should they? This will assert on overflow in debug.
Trait Implementations§
source§impl PartialEq for U32x4
impl PartialEq for U32x4
impl Copy for U32x4
impl Eq for U32x4
impl StructuralPartialEq 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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)