Struct pathfinder_simd::scalar::I32x2
source · pub struct I32x2([i32; 2]);
Tuple Fields§
§0: [i32; 2]
Implementations§
source§impl I32x2
impl I32x2
pub fn new(x: i32, y: i32) -> I32x2
pub fn splat(x: i32) -> I32x2
pub fn x(self) -> i32
pub fn y(self) -> i32
pub fn concat_xy_xy(self, other: I32x2) -> I32x4
pub fn min(self, other: I32x2) -> I32x2
pub fn max(self, other: I32x2) -> I32x2
pub fn packed_eq(self, other: I32x2) -> U32x2
pub fn packed_gt(self, other: I32x2) -> U32x2
pub fn packed_le(self, other: I32x2) -> U32x2
pub fn packed_lt(self, other: I32x2) -> U32x2
Trait Implementations§
source§impl PartialEq for I32x2
impl PartialEq for I32x2
impl Copy for I32x2
impl StructuralPartialEq for I32x2
Auto Trait Implementations§
impl Freeze for I32x2
impl RefUnwindSafe for I32x2
impl Send for I32x2
impl Sync for I32x2
impl Unpin for I32x2
impl UnwindSafe for I32x2
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