Struct pathfinder_simd::x86::F32x2
source · pub struct F32x2(pub u64);
Tuple Fields§
§0: u64
Implementations§
source§impl F32x2
impl F32x2
pub fn new(a: f32, b: f32) -> F32x2
pub fn splat(x: f32) -> F32x2
pub fn approx_recip(self) -> F32x2
pub fn min(self, other: F32x2) -> F32x2
pub fn max(self, other: F32x2) -> F32x2
pub fn clamp(self, min: F32x2, max: F32x2) -> F32x2
pub fn abs(self) -> F32x2
pub fn floor(self) -> F32x2
pub fn ceil(self) -> F32x2
pub fn sqrt(self) -> F32x2
pub fn packed_eq(self, other: F32x2) -> U32x2
pub fn packed_gt(self, other: F32x2) -> U32x2
pub fn packed_lt(self, other: F32x2) -> U32x2
pub fn packed_le(self, other: F32x2) -> U32x2
pub fn to_f32x4(self) -> F32x4
pub fn to_i32x2(self) -> I32x2
pub fn to_i32x4(self) -> I32x4
pub fn yx(self) -> F32x2
pub fn concat_xy_xy(self, other: F32x2) -> F32x4
Trait Implementations§
source§impl AddAssign for F32x2
impl AddAssign for F32x2
source§fn add_assign(&mut self, other: F32x2)
fn add_assign(&mut self, other: F32x2)
Performs the
+=
operation. Read moresource§impl MulAssign for F32x2
impl MulAssign for F32x2
source§fn mul_assign(&mut self, other: F32x2)
fn mul_assign(&mut self, other: F32x2)
Performs the
*=
operation. Read moresource§impl PartialEq for F32x2
impl PartialEq for F32x2
source§impl SubAssign for F32x2
impl SubAssign for F32x2
source§fn sub_assign(&mut self, other: F32x2)
fn sub_assign(&mut self, other: F32x2)
Performs the
-=
operation. Read moreimpl Copy for F32x2
Auto Trait Implementations§
impl Freeze for F32x2
impl RefUnwindSafe for F32x2
impl Send for F32x2
impl Sync for F32x2
impl Unpin for F32x2
impl UnwindSafe for F32x2
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