[][src]Struct ico_math::Vector4Int

#[repr(C)]
pub struct Vector4Int {
    pub data: __m128i,
}

Fields

data: __m128i

Methods

impl Vector4Int[src]

pub fn new(x: i32, y: i32, z: i32, w: i32) -> Vector4Int[src]

Returns a new Vector4

pub fn set<T: Into<IntVector>>(value: T) -> Vector4Int[src]

pub fn zero() -> Vector4Int[src]

pub fn load(raw: &RawVector_i32) -> Vector4Int[src]

Load a value from aligned memory.

pub fn store(self, dst: &mut RawVector_i32)[src]

Store a value to aligned memory.

pub fn x(self) -> IntVector[src]

pub fn y(self) -> IntVector[src]

pub fn z(self) -> IntVector[src]

pub fn w(self) -> IntVector[src]

pub fn set_x<T: Into<i32>>(&mut self, value: T)[src]

pub fn set_y<T: Into<i32>>(&mut self, value: T)[src]

pub fn set_z<T: Into<i32>>(&mut self, value: T)[src]

pub fn set_w<T: Into<i32>>(&mut self, value: T)[src]

pub fn max(self, v2: Vector4Int) -> Vector4Int[src]

pub fn min(self, v2: Vector4Int) -> Vector4Int[src]

pub fn select(self, v2: Vector4Int, mask: Vector4Bool) -> Vector4Int[src]

Choose component wise between A and B based on the mask. False = A, True = B.

pub fn add(self, v2: Vector4Int) -> Vector4Int[src]

pub fn sub(self, v2: Vector4Int) -> Vector4Int[src]

pub fn mul(self, v2: Vector4Int) -> Vector4Int[src]

pub fn abs(self) -> Vector4Int[src]

pub fn sign(self, v2: Vector4Int) -> Vector4Int[src]

pub fn and<T: SIMDVector4>(self, v2: T) -> Vector4Int[src]

pub fn or<T: SIMDVector4>(self, v2: T) -> Vector4Int[src]

pub fn andnot<T: SIMDVector4>(self, v2: T) -> Vector4Int[src]

pub fn xor<T: SIMDVector4>(self, v2: T) -> Vector4Int[src]

pub fn equal(self, v2: Vector4Int) -> Vector4Bool[src]

pub fn not_equal(self, v2: Vector4Int) -> Vector4Bool[src]

pub fn greater_equal(self, v2: Vector4Int) -> Vector4Bool[src]

pub fn greater(self, v2: Vector4Int) -> Vector4Bool[src]

pub fn less_equal(self, v2: Vector4Int) -> Vector4Bool[src]

pub fn less(self, v2: Vector4Int) -> Vector4Bool[src]

pub fn xxxx(self) -> Vector4Int[src]

pub fn xxxy(self) -> Vector4Int[src]

pub fn xxxz(self) -> Vector4Int[src]

pub fn xxxw(self) -> Vector4Int[src]

pub fn xxyx(self) -> Vector4Int[src]

pub fn xxyy(self) -> Vector4Int[src]

pub fn xxyz(self) -> Vector4Int[src]

pub fn xxyw(self) -> Vector4Int[src]

pub fn xxzx(self) -> Vector4Int[src]

pub fn xxzy(self) -> Vector4Int[src]

pub fn xxzz(self) -> Vector4Int[src]

pub fn xxzw(self) -> Vector4Int[src]

pub fn xxwx(self) -> Vector4Int[src]

pub fn xxwy(self) -> Vector4Int[src]

pub fn xxwz(self) -> Vector4Int[src]

pub fn xxww(self) -> Vector4Int[src]

pub fn xyxx(self) -> Vector4Int[src]

pub fn xyxy(self) -> Vector4Int[src]

pub fn xyxz(self) -> Vector4Int[src]

pub fn xyxw(self) -> Vector4Int[src]

pub fn xyyx(self) -> Vector4Int[src]

pub fn xyyy(self) -> Vector4Int[src]

pub fn xyyz(self) -> Vector4Int[src]

pub fn xyyw(self) -> Vector4Int[src]

pub fn xyzx(self) -> Vector4Int[src]

pub fn xyzy(self) -> Vector4Int[src]

pub fn xyzz(self) -> Vector4Int[src]

pub fn xyzw(self) -> Vector4Int[src]

pub fn xywx(self) -> Vector4Int[src]

pub fn xywy(self) -> Vector4Int[src]

pub fn xywz(self) -> Vector4Int[src]

pub fn xyww(self) -> Vector4Int[src]

pub fn xzxx(self) -> Vector4Int[src]

pub fn xzxy(self) -> Vector4Int[src]

pub fn xzxz(self) -> Vector4Int[src]

pub fn xzxw(self) -> Vector4Int[src]

pub fn xzyx(self) -> Vector4Int[src]

pub fn xzyy(self) -> Vector4Int[src]

pub fn xzyz(self) -> Vector4Int[src]

pub fn xzyw(self) -> Vector4Int[src]

pub fn xzzx(self) -> Vector4Int[src]

pub fn xzzy(self) -> Vector4Int[src]

pub fn xzzz(self) -> Vector4Int[src]

pub fn xzzw(self) -> Vector4Int[src]

pub fn xzwx(self) -> Vector4Int[src]

pub fn xzwy(self) -> Vector4Int[src]

pub fn xzwz(self) -> Vector4Int[src]

pub fn xzww(self) -> Vector4Int[src]

pub fn xwxx(self) -> Vector4Int[src]

pub fn xwxy(self) -> Vector4Int[src]

pub fn xwxz(self) -> Vector4Int[src]

pub fn xwxw(self) -> Vector4Int[src]

pub fn xwyx(self) -> Vector4Int[src]

pub fn xwyy(self) -> Vector4Int[src]

pub fn xwyz(self) -> Vector4Int[src]

pub fn xwyw(self) -> Vector4Int[src]

pub fn xwzx(self) -> Vector4Int[src]

pub fn xwzy(self) -> Vector4Int[src]

pub fn xwzz(self) -> Vector4Int[src]

pub fn xwzw(self) -> Vector4Int[src]

pub fn xwwx(self) -> Vector4Int[src]

pub fn xwwy(self) -> Vector4Int[src]

pub fn xwwz(self) -> Vector4Int[src]

pub fn xwww(self) -> Vector4Int[src]

pub fn yxxx(self) -> Vector4Int[src]

pub fn yxxy(self) -> Vector4Int[src]

pub fn yxxz(self) -> Vector4Int[src]

pub fn yxxw(self) -> Vector4Int[src]

pub fn yxyx(self) -> Vector4Int[src]

pub fn yxyy(self) -> Vector4Int[src]

pub fn yxyz(self) -> Vector4Int[src]

pub fn yxyw(self) -> Vector4Int[src]

pub fn yxzx(self) -> Vector4Int[src]

pub fn yxzy(self) -> Vector4Int[src]

pub fn yxzz(self) -> Vector4Int[src]

pub fn yxzw(self) -> Vector4Int[src]

pub fn yxwx(self) -> Vector4Int[src]

pub fn yxwy(self) -> Vector4Int[src]

pub fn yxwz(self) -> Vector4Int[src]

pub fn yxww(self) -> Vector4Int[src]

pub fn yyxx(self) -> Vector4Int[src]

pub fn yyxy(self) -> Vector4Int[src]

pub fn yyxz(self) -> Vector4Int[src]

pub fn yyxw(self) -> Vector4Int[src]

pub fn yyyx(self) -> Vector4Int[src]

pub fn yyyy(self) -> Vector4Int[src]

pub fn yyyz(self) -> Vector4Int[src]

pub fn yyyw(self) -> Vector4Int[src]

pub fn yyzx(self) -> Vector4Int[src]

pub fn yyzy(self) -> Vector4Int[src]

pub fn yyzz(self) -> Vector4Int[src]

pub fn yyzw(self) -> Vector4Int[src]

pub fn yywx(self) -> Vector4Int[src]

pub fn yywy(self) -> Vector4Int[src]

pub fn yywz(self) -> Vector4Int[src]

pub fn yyww(self) -> Vector4Int[src]

pub fn yzxx(self) -> Vector4Int[src]

pub fn yzxy(self) -> Vector4Int[src]

pub fn yzxz(self) -> Vector4Int[src]

pub fn yzxw(self) -> Vector4Int[src]

pub fn yzyx(self) -> Vector4Int[src]

pub fn yzyy(self) -> Vector4Int[src]

pub fn yzyz(self) -> Vector4Int[src]

pub fn yzyw(self) -> Vector4Int[src]

pub fn yzzx(self) -> Vector4Int[src]

pub fn yzzy(self) -> Vector4Int[src]

pub fn yzzz(self) -> Vector4Int[src]

pub fn yzzw(self) -> Vector4Int[src]

pub fn yzwx(self) -> Vector4Int[src]

pub fn yzwy(self) -> Vector4Int[src]

pub fn yzwz(self) -> Vector4Int[src]

pub fn yzww(self) -> Vector4Int[src]

pub fn ywxx(self) -> Vector4Int[src]

pub fn ywxy(self) -> Vector4Int[src]

pub fn ywxz(self) -> Vector4Int[src]

pub fn ywxw(self) -> Vector4Int[src]

pub fn ywyx(self) -> Vector4Int[src]

pub fn ywyy(self) -> Vector4Int[src]

pub fn ywyz(self) -> Vector4Int[src]

pub fn ywyw(self) -> Vector4Int[src]

pub fn ywzx(self) -> Vector4Int[src]

pub fn ywzy(self) -> Vector4Int[src]

pub fn ywzz(self) -> Vector4Int[src]

pub fn ywzw(self) -> Vector4Int[src]

pub fn ywwx(self) -> Vector4Int[src]

pub fn ywwy(self) -> Vector4Int[src]

pub fn ywwz(self) -> Vector4Int[src]

pub fn ywww(self) -> Vector4Int[src]

pub fn zxxx(self) -> Vector4Int[src]

pub fn zxxy(self) -> Vector4Int[src]

pub fn zxxz(self) -> Vector4Int[src]

pub fn zxxw(self) -> Vector4Int[src]

pub fn zxyx(self) -> Vector4Int[src]

pub fn zxyy(self) -> Vector4Int[src]

pub fn zxyz(self) -> Vector4Int[src]

pub fn zxyw(self) -> Vector4Int[src]

pub fn zxzx(self) -> Vector4Int[src]

pub fn zxzy(self) -> Vector4Int[src]

pub fn zxzz(self) -> Vector4Int[src]

pub fn zxzw(self) -> Vector4Int[src]

pub fn zxwx(self) -> Vector4Int[src]

pub fn zxwy(self) -> Vector4Int[src]

pub fn zxwz(self) -> Vector4Int[src]

pub fn zxww(self) -> Vector4Int[src]

pub fn zyxx(self) -> Vector4Int[src]

pub fn zyxy(self) -> Vector4Int[src]

pub fn zyxz(self) -> Vector4Int[src]

pub fn zyxw(self) -> Vector4Int[src]

pub fn zyyx(self) -> Vector4Int[src]

pub fn zyyy(self) -> Vector4Int[src]

pub fn zyyz(self) -> Vector4Int[src]

pub fn zyyw(self) -> Vector4Int[src]

pub fn zyzx(self) -> Vector4Int[src]

pub fn zyzy(self) -> Vector4Int[src]

pub fn zyzz(self) -> Vector4Int[src]

pub fn zyzw(self) -> Vector4Int[src]

pub fn zywx(self) -> Vector4Int[src]

pub fn zywy(self) -> Vector4Int[src]

pub fn zywz(self) -> Vector4Int[src]

pub fn zyww(self) -> Vector4Int[src]

pub fn zzxx(self) -> Vector4Int[src]

pub fn zzxy(self) -> Vector4Int[src]

pub fn zzxz(self) -> Vector4Int[src]

pub fn zzxw(self) -> Vector4Int[src]

pub fn zzyx(self) -> Vector4Int[src]

pub fn zzyy(self) -> Vector4Int[src]

pub fn zzyz(self) -> Vector4Int[src]

pub fn zzyw(self) -> Vector4Int[src]

pub fn zzzx(self) -> Vector4Int[src]

pub fn zzzy(self) -> Vector4Int[src]

pub fn zzzz(self) -> Vector4Int[src]

pub fn zzzw(self) -> Vector4Int[src]

pub fn zzwx(self) -> Vector4Int[src]

pub fn zzwy(self) -> Vector4Int[src]

pub fn zzwz(self) -> Vector4Int[src]

pub fn zzww(self) -> Vector4Int[src]

pub fn zwxx(self) -> Vector4Int[src]

pub fn zwxy(self) -> Vector4Int[src]

pub fn zwxz(self) -> Vector4Int[src]

pub fn zwxw(self) -> Vector4Int[src]

pub fn zwyx(self) -> Vector4Int[src]

pub fn zwyy(self) -> Vector4Int[src]

pub fn zwyz(self) -> Vector4Int[src]

pub fn zwyw(self) -> Vector4Int[src]

pub fn zwzx(self) -> Vector4Int[src]

pub fn zwzy(self) -> Vector4Int[src]

pub fn zwzz(self) -> Vector4Int[src]

pub fn zwzw(self) -> Vector4Int[src]

pub fn zwwx(self) -> Vector4Int[src]

pub fn zwwy(self) -> Vector4Int[src]

pub fn zwwz(self) -> Vector4Int[src]

pub fn zwww(self) -> Vector4Int[src]

pub fn wxxx(self) -> Vector4Int[src]

pub fn wxxy(self) -> Vector4Int[src]

pub fn wxxz(self) -> Vector4Int[src]

pub fn wxxw(self) -> Vector4Int[src]

pub fn wxyx(self) -> Vector4Int[src]

pub fn wxyy(self) -> Vector4Int[src]

pub fn wxyz(self) -> Vector4Int[src]

pub fn wxyw(self) -> Vector4Int[src]

pub fn wxzx(self) -> Vector4Int[src]

pub fn wxzy(self) -> Vector4Int[src]

pub fn wxzz(self) -> Vector4Int[src]

pub fn wxzw(self) -> Vector4Int[src]

pub fn wxwx(self) -> Vector4Int[src]

pub fn wxwy(self) -> Vector4Int[src]

pub fn wxwz(self) -> Vector4Int[src]

pub fn wxww(self) -> Vector4Int[src]

pub fn wyxx(self) -> Vector4Int[src]

pub fn wyxy(self) -> Vector4Int[src]

pub fn wyxz(self) -> Vector4Int[src]

pub fn wyxw(self) -> Vector4Int[src]

pub fn wyyx(self) -> Vector4Int[src]

pub fn wyyy(self) -> Vector4Int[src]

pub fn wyyz(self) -> Vector4Int[src]

pub fn wyyw(self) -> Vector4Int[src]

pub fn wyzx(self) -> Vector4Int[src]

pub fn wyzy(self) -> Vector4Int[src]

pub fn wyzz(self) -> Vector4Int[src]

pub fn wyzw(self) -> Vector4Int[src]

pub fn wywx(self) -> Vector4Int[src]

pub fn wywy(self) -> Vector4Int[src]

pub fn wywz(self) -> Vector4Int[src]

pub fn wyww(self) -> Vector4Int[src]

pub fn wzxx(self) -> Vector4Int[src]

pub fn wzxy(self) -> Vector4Int[src]

pub fn wzxz(self) -> Vector4Int[src]

pub fn wzxw(self) -> Vector4Int[src]

pub fn wzyx(self) -> Vector4Int[src]

pub fn wzyy(self) -> Vector4Int[src]

pub fn wzyz(self) -> Vector4Int[src]

pub fn wzyw(self) -> Vector4Int[src]

pub fn wzzx(self) -> Vector4Int[src]

pub fn wzzy(self) -> Vector4Int[src]

pub fn wzzz(self) -> Vector4Int[src]

pub fn wzzw(self) -> Vector4Int[src]

pub fn wzwx(self) -> Vector4Int[src]

pub fn wzwy(self) -> Vector4Int[src]

pub fn wzwz(self) -> Vector4Int[src]

pub fn wzww(self) -> Vector4Int[src]

pub fn wwxx(self) -> Vector4Int[src]

pub fn wwxy(self) -> Vector4Int[src]

pub fn wwxz(self) -> Vector4Int[src]

pub fn wwxw(self) -> Vector4Int[src]

pub fn wwyx(self) -> Vector4Int[src]

pub fn wwyy(self) -> Vector4Int[src]

pub fn wwyz(self) -> Vector4Int[src]

pub fn wwyw(self) -> Vector4Int[src]

pub fn wwzx(self) -> Vector4Int[src]

pub fn wwzy(self) -> Vector4Int[src]

pub fn wwzz(self) -> Vector4Int[src]

pub fn wwzw(self) -> Vector4Int[src]

pub fn wwwx(self) -> Vector4Int[src]

pub fn wwwy(self) -> Vector4Int[src]

pub fn wwwz(self) -> Vector4Int[src]

pub fn wwww(self) -> Vector4Int[src]

Trait Implementations

impl SIMDVector4 for Vector4Int[src]

impl Clone for Vector4Int[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<Vector4Int> for Vector2Int[src]

impl From<Vector4Int> for Vector3Int[src]

impl From<Vector4Int> for Vector4[src]

impl From<i32> for Vector4Int[src]

impl From<IntVector> for Vector4Int[src]

impl From<Vector2Int> for Vector4Int[src]

impl From<Vector3Int> for Vector4Int[src]

impl From<Vector4> for Vector4Int[src]

impl PartialEq<Vector4Int> for Vector4Int[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for Vector4Int[src]

impl Debug for Vector4Int[src]

impl Add<Vector4Int> for Vector4Int[src]

type Output = Vector4Int

The resulting type after applying the + operator.

impl Sub<Vector4Int> for Vector4Int[src]

type Output = Vector4Int

The resulting type after applying the - operator.

impl<T: Into<IntVector>> Mul<T> for Vector4Int[src]

type Output = Vector4Int

The resulting type after applying the * operator.

impl Mul<Vector4Int> for IntVector[src]

type Output = Vector4Int

The resulting type after applying the * operator.

impl Neg for Vector4Int[src]

type Output = Vector4Int

The resulting type after applying the - operator.

impl AddAssign<Vector4Int> for Vector4Int[src]

impl SubAssign<Vector4Int> for Vector4Int[src]

impl<T: Into<IntVector>> MulAssign<T> for Vector4Int[src]

impl Hash for Vector4Int[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]