Struct pathfinder_simd::x86::F32x4

source ·
pub struct F32x4(pub __m128);

Tuple Fields§

§0: __m128

Implementations§

source§

impl F32x4

source

pub fn from_slice(slice: &[f32]) -> F32x4

source

pub fn x(self) -> f32

source

pub fn y(self) -> f32

source

pub fn z(self) -> f32

source

pub fn w(self) -> f32

source

pub fn set_x(&mut self, x: f32)

source

pub fn set_y(&mut self, y: f32)

source

pub fn set_z(&mut self, z: f32)

source

pub fn set_w(&mut self, w: f32)

source

pub fn approx_eq(self, other: F32x4, epsilon: f32) -> bool

source§

impl F32x4

source

pub fn xxxx(self) -> F32x4

source

pub fn yxxx(self) -> F32x4

source

pub fn zxxx(self) -> F32x4

source

pub fn wxxx(self) -> F32x4

source

pub fn xyxx(self) -> F32x4

source

pub fn yyxx(self) -> F32x4

source

pub fn zyxx(self) -> F32x4

source

pub fn wyxx(self) -> F32x4

source

pub fn xzxx(self) -> F32x4

source

pub fn yzxx(self) -> F32x4

source

pub fn zzxx(self) -> F32x4

source

pub fn wzxx(self) -> F32x4

source

pub fn xwxx(self) -> F32x4

source

pub fn ywxx(self) -> F32x4

source

pub fn zwxx(self) -> F32x4

source

pub fn wwxx(self) -> F32x4

source

pub fn xxyx(self) -> F32x4

source

pub fn yxyx(self) -> F32x4

source

pub fn zxyx(self) -> F32x4

source

pub fn wxyx(self) -> F32x4

source

pub fn xyyx(self) -> F32x4

source

pub fn yyyx(self) -> F32x4

source

pub fn zyyx(self) -> F32x4

source

pub fn wyyx(self) -> F32x4

source

pub fn xzyx(self) -> F32x4

source

pub fn yzyx(self) -> F32x4

source

pub fn zzyx(self) -> F32x4

source

pub fn wzyx(self) -> F32x4

source

pub fn xwyx(self) -> F32x4

source

pub fn ywyx(self) -> F32x4

source

pub fn zwyx(self) -> F32x4

source

pub fn wwyx(self) -> F32x4

source

pub fn xxzx(self) -> F32x4

source

pub fn yxzx(self) -> F32x4

source

pub fn zxzx(self) -> F32x4

source

pub fn wxzx(self) -> F32x4

source

pub fn xyzx(self) -> F32x4

source

pub fn yyzx(self) -> F32x4

source

pub fn zyzx(self) -> F32x4

source

pub fn wyzx(self) -> F32x4

source

pub fn xzzx(self) -> F32x4

source

pub fn yzzx(self) -> F32x4

source

pub fn zzzx(self) -> F32x4

source

pub fn wzzx(self) -> F32x4

source

pub fn xwzx(self) -> F32x4

source

pub fn ywzx(self) -> F32x4

source

pub fn zwzx(self) -> F32x4

source

pub fn wwzx(self) -> F32x4

source

pub fn xxwx(self) -> F32x4

source

pub fn yxwx(self) -> F32x4

source

pub fn zxwx(self) -> F32x4

source

pub fn wxwx(self) -> F32x4

source

pub fn xywx(self) -> F32x4

source

pub fn yywx(self) -> F32x4

source

pub fn zywx(self) -> F32x4

source

pub fn wywx(self) -> F32x4

source

pub fn xzwx(self) -> F32x4

source

pub fn yzwx(self) -> F32x4

source

pub fn zzwx(self) -> F32x4

source

pub fn wzwx(self) -> F32x4

source

pub fn xwwx(self) -> F32x4

source

pub fn ywwx(self) -> F32x4

source

pub fn zwwx(self) -> F32x4

source

pub fn wwwx(self) -> F32x4

source

pub fn xxxy(self) -> F32x4

source

pub fn yxxy(self) -> F32x4

source

pub fn zxxy(self) -> F32x4

source

pub fn wxxy(self) -> F32x4

source

pub fn xyxy(self) -> F32x4

source

pub fn yyxy(self) -> F32x4

source

pub fn zyxy(self) -> F32x4

source

pub fn wyxy(self) -> F32x4

source

pub fn xzxy(self) -> F32x4

source

pub fn yzxy(self) -> F32x4

source

pub fn zzxy(self) -> F32x4

source

pub fn wzxy(self) -> F32x4

source

pub fn xwxy(self) -> F32x4

source

pub fn ywxy(self) -> F32x4

source

pub fn zwxy(self) -> F32x4

source

pub fn wwxy(self) -> F32x4

source

pub fn xxyy(self) -> F32x4

source

pub fn yxyy(self) -> F32x4

source

pub fn zxyy(self) -> F32x4

source

pub fn wxyy(self) -> F32x4

source

pub fn xyyy(self) -> F32x4

source

pub fn yyyy(self) -> F32x4

source

pub fn zyyy(self) -> F32x4

source

pub fn wyyy(self) -> F32x4

source

pub fn xzyy(self) -> F32x4

source

pub fn yzyy(self) -> F32x4

source

pub fn zzyy(self) -> F32x4

source

pub fn wzyy(self) -> F32x4

source

pub fn xwyy(self) -> F32x4

source

pub fn ywyy(self) -> F32x4

source

pub fn zwyy(self) -> F32x4

source

pub fn wwyy(self) -> F32x4

source

pub fn xxzy(self) -> F32x4

source

pub fn yxzy(self) -> F32x4

source

pub fn zxzy(self) -> F32x4

source

pub fn wxzy(self) -> F32x4

source

pub fn xyzy(self) -> F32x4

source

pub fn yyzy(self) -> F32x4

source

pub fn zyzy(self) -> F32x4

source

pub fn wyzy(self) -> F32x4

source

pub fn xzzy(self) -> F32x4

source

pub fn yzzy(self) -> F32x4

source

pub fn zzzy(self) -> F32x4

source

pub fn wzzy(self) -> F32x4

source

pub fn xwzy(self) -> F32x4

source

pub fn ywzy(self) -> F32x4

source

pub fn zwzy(self) -> F32x4

source

pub fn wwzy(self) -> F32x4

source

pub fn xxwy(self) -> F32x4

source

pub fn yxwy(self) -> F32x4

source

pub fn zxwy(self) -> F32x4

source

pub fn wxwy(self) -> F32x4

source

pub fn xywy(self) -> F32x4

source

pub fn yywy(self) -> F32x4

source

pub fn zywy(self) -> F32x4

source

pub fn wywy(self) -> F32x4

source

pub fn xzwy(self) -> F32x4

source

pub fn yzwy(self) -> F32x4

source

pub fn zzwy(self) -> F32x4

source

pub fn wzwy(self) -> F32x4

source

pub fn xwwy(self) -> F32x4

source

pub fn ywwy(self) -> F32x4

source

pub fn zwwy(self) -> F32x4

source

pub fn wwwy(self) -> F32x4

source

pub fn xxxz(self) -> F32x4

source

pub fn yxxz(self) -> F32x4

source

pub fn zxxz(self) -> F32x4

source

pub fn wxxz(self) -> F32x4

source

pub fn xyxz(self) -> F32x4

source

pub fn yyxz(self) -> F32x4

source

pub fn zyxz(self) -> F32x4

source

pub fn wyxz(self) -> F32x4

source

pub fn xzxz(self) -> F32x4

source

pub fn yzxz(self) -> F32x4

source

pub fn zzxz(self) -> F32x4

source

pub fn wzxz(self) -> F32x4

source

pub fn xwxz(self) -> F32x4

source

pub fn ywxz(self) -> F32x4

source

pub fn zwxz(self) -> F32x4

source

pub fn wwxz(self) -> F32x4

source

pub fn xxyz(self) -> F32x4

source

pub fn yxyz(self) -> F32x4

source

pub fn zxyz(self) -> F32x4

source

pub fn wxyz(self) -> F32x4

source

pub fn xyyz(self) -> F32x4

source

pub fn yyyz(self) -> F32x4

source

pub fn zyyz(self) -> F32x4

source

pub fn wyyz(self) -> F32x4

source

pub fn xzyz(self) -> F32x4

source

pub fn yzyz(self) -> F32x4

source

pub fn zzyz(self) -> F32x4

source

pub fn wzyz(self) -> F32x4

source

pub fn xwyz(self) -> F32x4

source

pub fn ywyz(self) -> F32x4

source

pub fn zwyz(self) -> F32x4

source

pub fn wwyz(self) -> F32x4

source

pub fn xxzz(self) -> F32x4

source

pub fn yxzz(self) -> F32x4

source

pub fn zxzz(self) -> F32x4

source

pub fn wxzz(self) -> F32x4

source

pub fn xyzz(self) -> F32x4

source

pub fn yyzz(self) -> F32x4

source

pub fn zyzz(self) -> F32x4

source

pub fn wyzz(self) -> F32x4

source

pub fn xzzz(self) -> F32x4

source

pub fn yzzz(self) -> F32x4

source

pub fn zzzz(self) -> F32x4

source

pub fn wzzz(self) -> F32x4

source

pub fn xwzz(self) -> F32x4

source

pub fn ywzz(self) -> F32x4

source

pub fn zwzz(self) -> F32x4

source

pub fn wwzz(self) -> F32x4

source

pub fn xxwz(self) -> F32x4

source

pub fn yxwz(self) -> F32x4

source

pub fn zxwz(self) -> F32x4

source

pub fn wxwz(self) -> F32x4

source

pub fn xywz(self) -> F32x4

source

pub fn yywz(self) -> F32x4

source

pub fn zywz(self) -> F32x4

source

pub fn wywz(self) -> F32x4

source

pub fn xzwz(self) -> F32x4

source

pub fn yzwz(self) -> F32x4

source

pub fn zzwz(self) -> F32x4

source

pub fn wzwz(self) -> F32x4

source

pub fn xwwz(self) -> F32x4

source

pub fn ywwz(self) -> F32x4

source

pub fn zwwz(self) -> F32x4

source

pub fn wwwz(self) -> F32x4

source

pub fn xxxw(self) -> F32x4

source

pub fn yxxw(self) -> F32x4

source

pub fn zxxw(self) -> F32x4

source

pub fn wxxw(self) -> F32x4

source

pub fn xyxw(self) -> F32x4

source

pub fn yyxw(self) -> F32x4

source

pub fn zyxw(self) -> F32x4

source

pub fn wyxw(self) -> F32x4

source

pub fn xzxw(self) -> F32x4

source

pub fn yzxw(self) -> F32x4

source

pub fn zzxw(self) -> F32x4

source

pub fn wzxw(self) -> F32x4

source

pub fn xwxw(self) -> F32x4

source

pub fn ywxw(self) -> F32x4

source

pub fn zwxw(self) -> F32x4

source

pub fn wwxw(self) -> F32x4

source

pub fn xxyw(self) -> F32x4

source

pub fn yxyw(self) -> F32x4

source

pub fn zxyw(self) -> F32x4

source

pub fn wxyw(self) -> F32x4

source

pub fn xyyw(self) -> F32x4

source

pub fn yyyw(self) -> F32x4

source

pub fn zyyw(self) -> F32x4

source

pub fn wyyw(self) -> F32x4

source

pub fn xzyw(self) -> F32x4

source

pub fn yzyw(self) -> F32x4

source

pub fn zzyw(self) -> F32x4

source

pub fn wzyw(self) -> F32x4

source

pub fn xwyw(self) -> F32x4

source

pub fn ywyw(self) -> F32x4

source

pub fn zwyw(self) -> F32x4

source

pub fn wwyw(self) -> F32x4

source

pub fn xxzw(self) -> F32x4

source

pub fn yxzw(self) -> F32x4

source

pub fn zxzw(self) -> F32x4

source

pub fn wxzw(self) -> F32x4

source

pub fn xyzw(self) -> F32x4

source

pub fn yyzw(self) -> F32x4

source

pub fn zyzw(self) -> F32x4

source

pub fn wyzw(self) -> F32x4

source

pub fn xzzw(self) -> F32x4

source

pub fn yzzw(self) -> F32x4

source

pub fn zzzw(self) -> F32x4

source

pub fn wzzw(self) -> F32x4

source

pub fn xwzw(self) -> F32x4

source

pub fn ywzw(self) -> F32x4

source

pub fn zwzw(self) -> F32x4

source

pub fn wwzw(self) -> F32x4

source

pub fn xxww(self) -> F32x4

source

pub fn yxww(self) -> F32x4

source

pub fn zxww(self) -> F32x4

source

pub fn wxww(self) -> F32x4

source

pub fn xyww(self) -> F32x4

source

pub fn yyww(self) -> F32x4

source

pub fn zyww(self) -> F32x4

source

pub fn wyww(self) -> F32x4

source

pub fn xzww(self) -> F32x4

source

pub fn yzww(self) -> F32x4

source

pub fn zzww(self) -> F32x4

source

pub fn wzww(self) -> F32x4

source

pub fn xwww(self) -> F32x4

source

pub fn ywww(self) -> F32x4

source

pub fn zwww(self) -> F32x4

source

pub fn wwww(self) -> F32x4

source§

impl F32x4

source

pub fn new(a: f32, b: f32, c: f32, d: f32) -> F32x4

source

pub fn splat(x: f32) -> F32x4

source

pub fn approx_recip(self) -> F32x4

source

pub fn min(self, other: F32x4) -> F32x4

source

pub fn max(self, other: F32x4) -> F32x4

source

pub fn clamp(self, min: F32x4, max: F32x4) -> F32x4

source

pub fn abs(self) -> F32x4

source

pub fn floor(self) -> F32x4

source

pub fn ceil(self) -> F32x4

source

pub fn sqrt(self) -> F32x4

source

pub fn packed_eq(self, other: F32x4) -> U32x4

source

pub fn packed_gt(self, other: F32x4) -> U32x4

source

pub fn packed_lt(self, other: F32x4) -> U32x4

source

pub fn packed_le(self, other: F32x4) -> U32x4

source

pub fn to_i32x4(self) -> I32x4

Converts these packed floats to integers via rounding.

source

pub fn xy(self) -> F32x2

source

pub fn xw(self) -> F32x2

source

pub fn yx(self) -> F32x2

source

pub fn zy(self) -> F32x2

source

pub fn zw(self) -> F32x2

source

pub fn concat_xy_xy(self, other: F32x4) -> F32x4

source

pub fn concat_xy_zw(self, other: F32x4) -> F32x4

source

pub fn concat_zw_zw(self, other: F32x4) -> F32x4

source

pub fn concat_wz_yx(self, other: F32x4) -> F32x4

Trait Implementations§

source§

impl Add for F32x4

§

type Output = F32x4

The resulting type after applying the + operator.
source§

fn add(self, other: F32x4) -> F32x4

Performs the + operation. Read more
source§

impl AddAssign for F32x4

source§

fn add_assign(&mut self, other: F32x4)

Performs the += operation. Read more
source§

impl Clone for F32x4

source§

fn clone(&self) -> F32x4

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for F32x4

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for F32x4

source§

fn default() -> F32x4

Returns the “default value” for a type. Read more
source§

impl Div for F32x4

§

type Output = F32x4

The resulting type after applying the / operator.
source§

fn div(self, other: F32x4) -> F32x4

Performs the / operation. Read more
source§

impl Index<usize> for F32x4

§

type Output = f32

The returned type after indexing.
source§

fn index(&self, index: usize) -> &f32

Performs the indexing (container[index]) operation. Read more
source§

impl IndexMut<usize> for F32x4

source§

fn index_mut(&mut self, index: usize) -> &mut f32

Performs the mutable indexing (container[index]) operation. Read more
source§

impl Mul for F32x4

§

type Output = F32x4

The resulting type after applying the * operator.
source§

fn mul(self, other: F32x4) -> F32x4

Performs the * operation. Read more
source§

impl MulAssign for F32x4

source§

fn mul_assign(&mut self, other: F32x4)

Performs the *= operation. Read more
source§

impl Neg for F32x4

§

type Output = F32x4

The resulting type after applying the - operator.
source§

fn neg(self) -> F32x4

Performs the unary - operation. Read more
source§

impl PartialEq for F32x4

source§

fn eq(&self, other: &F32x4) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Sub for F32x4

§

type Output = F32x4

The resulting type after applying the - operator.
source§

fn sub(self, other: F32x4) -> F32x4

Performs the - operation. Read more
source§

impl SubAssign for F32x4

source§

fn sub_assign(&mut self, other: F32x4)

Performs the -= operation. Read more
source§

impl Copy for F32x4

Auto Trait Implementations§

§

impl Freeze for F32x4

§

impl RefUnwindSafe for F32x4

§

impl Send for F32x4

§

impl Sync for F32x4

§

impl Unpin for F32x4

§

impl UnwindSafe for F32x4

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.