#[repr(C, align(16))]pub struct Vector3Int {
pub data: __m128i,
}
Fields§
§data: __m128i
Implementations§
Source§impl Vector3Int
impl Vector3Int
pub fn set<T: Into<IntVector>>(value: T) -> Vector3Int
pub fn zero() -> Vector3Int
Sourcepub fn load(raw: &RawVector_i32) -> Vector3Int
pub fn load(raw: &RawVector_i32) -> Vector3Int
Load a value from aligned memory.
Sourcepub fn store(self, dst: &mut RawVector_i32)
pub fn store(self, dst: &mut RawVector_i32)
Store a value to aligned memory.
pub fn x(self) -> IntVector
pub fn y(self) -> IntVector
pub fn z(self) -> IntVector
pub fn set_x<T: Into<i32>>(&mut self, value: T)
pub fn set_y<T: Into<i32>>(&mut self, value: T)
pub fn set_z<T: Into<i32>>(&mut self, value: T)
pub fn max(self, v2: Vector3Int) -> Vector3Int
pub fn min(self, v2: Vector3Int) -> Vector3Int
Sourcepub fn select(self, v2: Vector3Int, mask: Vector3Bool) -> Vector3Int
pub fn select(self, v2: Vector3Int, mask: Vector3Bool) -> Vector3Int
Choose component wise between A and B based on the mask. False = A, True = B.
pub fn add(self, v2: Vector3Int) -> Vector3Int
pub fn sub(self, v2: Vector3Int) -> Vector3Int
pub fn mul(self, v2: Vector3Int) -> Vector3Int
pub fn abs(self) -> Vector3Int
pub fn sign(self, v2: Vector3Int) -> Vector3Int
pub fn and<T: SIMDVector3>(self, v2: T) -> Vector3Int
pub fn or<T: SIMDVector3>(self, v2: T) -> Vector3Int
pub fn andnot<T: SIMDVector3>(self, v2: T) -> Vector3Int
pub fn xor<T: SIMDVector3>(self, v2: T) -> Vector3Int
pub fn equal(self, v2: Vector3Int) -> Vector3Bool
pub fn not_equal(self, v2: Vector3Int) -> Vector3Bool
pub fn greater_equal(self, v2: Vector3Int) -> Vector3Bool
pub fn greater(self, v2: Vector3Int) -> Vector3Bool
pub fn less_equal(self, v2: Vector3Int) -> Vector3Bool
pub fn less(self, v2: Vector3Int) -> Vector3Bool
pub fn xxxx(self) -> Vector4Int
pub fn yyyy(self) -> Vector4Int
pub fn zzzz(self) -> Vector4Int
pub fn xxx(self) -> Vector3Int
pub fn xxy(self) -> Vector3Int
pub fn xxz(self) -> Vector3Int
pub fn xyx(self) -> Vector3Int
pub fn xyy(self) -> Vector3Int
pub fn xyz(self) -> Vector3Int
pub fn xzx(self) -> Vector3Int
pub fn xzy(self) -> Vector3Int
pub fn xzz(self) -> Vector3Int
pub fn yxx(self) -> Vector3Int
pub fn yxy(self) -> Vector3Int
pub fn yxz(self) -> Vector3Int
pub fn yyx(self) -> Vector3Int
pub fn yyy(self) -> Vector3Int
pub fn yyz(self) -> Vector3Int
pub fn yzx(self) -> Vector3Int
pub fn yzy(self) -> Vector3Int
pub fn yzz(self) -> Vector3Int
pub fn zxx(self) -> Vector3Int
pub fn zxy(self) -> Vector3Int
pub fn zxz(self) -> Vector3Int
pub fn zyx(self) -> Vector3Int
pub fn zyy(self) -> Vector3Int
pub fn zyz(self) -> Vector3Int
pub fn zzx(self) -> Vector3Int
pub fn zzy(self) -> Vector3Int
pub fn zzz(self) -> Vector3Int
Trait Implementations§
Source§impl Add for Vector3Int
impl Add for Vector3Int
Source§type Output = Vector3Int
type Output = Vector3Int
The resulting type after applying the
+
operator.Source§fn add(self, _rhs: Vector3Int) -> Vector3Int
fn add(self, _rhs: Vector3Int) -> Vector3Int
Performs the
+
operation. Read moreSource§impl AddAssign for Vector3Int
impl AddAssign for Vector3Int
Source§fn add_assign(&mut self, other: Vector3Int)
fn add_assign(&mut self, other: Vector3Int)
Performs the
+=
operation. Read moreSource§impl Clone for Vector3Int
impl Clone for Vector3Int
Source§fn clone(&self) -> Vector3Int
fn clone(&self) -> Vector3Int
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Vector3Int
impl Debug for Vector3Int
Source§impl From<IntVector> for Vector3Int
impl From<IntVector> for Vector3Int
Source§fn from(val: IntVector) -> Vector3Int
fn from(val: IntVector) -> Vector3Int
Converts to this type from the input type.
Source§impl From<Vector2Int> for Vector3Int
impl From<Vector2Int> for Vector3Int
Source§fn from(v: Vector2Int) -> Vector3Int
fn from(v: Vector2Int) -> Vector3Int
Converts to this type from the input type.
Source§impl From<Vector3> for Vector3Int
impl From<Vector3> for Vector3Int
Source§fn from(v: Vector3) -> Vector3Int
fn from(v: Vector3) -> Vector3Int
Converts to this type from the input type.
Source§impl From<Vector3Int> for Vector2Int
impl From<Vector3Int> for Vector2Int
Source§fn from(v: Vector3Int) -> Vector2Int
fn from(v: Vector3Int) -> Vector2Int
Converts to this type from the input type.
Source§impl From<Vector3Int> for Vector3
impl From<Vector3Int> for Vector3
Source§fn from(v: Vector3Int) -> Vector3
fn from(v: Vector3Int) -> Vector3
Converts to this type from the input type.
Source§impl From<Vector3Int> for Vector4Int
impl From<Vector3Int> for Vector4Int
Source§fn from(v: Vector3Int) -> Vector4Int
fn from(v: Vector3Int) -> Vector4Int
Converts to this type from the input type.
Source§impl From<Vector4Int> for Vector3Int
impl From<Vector4Int> for Vector3Int
Source§fn from(v: Vector4Int) -> Vector3Int
fn from(v: Vector4Int) -> Vector3Int
Converts to this type from the input type.
Source§impl From<i32> for Vector3Int
impl From<i32> for Vector3Int
Source§fn from(v: i32) -> Vector3Int
fn from(v: i32) -> Vector3Int
Converts to this type from the input type.
Source§impl Hash for Vector3Int
impl Hash for Vector3Int
Source§impl<T: Into<IntVector>> Mul<T> for Vector3Int
impl<T: Into<IntVector>> Mul<T> for Vector3Int
Source§type Output = Vector3Int
type Output = Vector3Int
The resulting type after applying the
*
operator.Source§fn mul(self, _rhs: T) -> Vector3Int
fn mul(self, _rhs: T) -> Vector3Int
Performs the
*
operation. Read moreSource§impl Mul<Vector3Int> for IntVector
impl Mul<Vector3Int> for IntVector
Source§type Output = Vector3Int
type Output = Vector3Int
The resulting type after applying the
*
operator.Source§fn mul(self: IntVector, _rhs: Vector3Int) -> Vector3Int
fn mul(self: IntVector, _rhs: Vector3Int) -> Vector3Int
Performs the
*
operation. Read moreSource§impl<T: Into<IntVector>> MulAssign<T> for Vector3Int
impl<T: Into<IntVector>> MulAssign<T> for Vector3Int
Source§fn mul_assign(&mut self, _rhs: T)
fn mul_assign(&mut self, _rhs: T)
Performs the
*=
operation. Read moreSource§impl Neg for Vector3Int
impl Neg for Vector3Int
Source§impl PartialEq for Vector3Int
impl PartialEq for Vector3Int
Source§impl SIMDVector3 for Vector3Int
impl SIMDVector3 for Vector3Int
Source§impl Sub for Vector3Int
impl Sub for Vector3Int
Source§type Output = Vector3Int
type Output = Vector3Int
The resulting type after applying the
-
operator.Source§fn sub(self, _rhs: Vector3Int) -> Vector3Int
fn sub(self, _rhs: Vector3Int) -> Vector3Int
Performs the
-
operation. Read moreSource§impl SubAssign for Vector3Int
impl SubAssign for Vector3Int
Source§fn sub_assign(&mut self, other: Vector3Int)
fn sub_assign(&mut self, other: Vector3Int)
Performs the
-=
operation. Read moreimpl Copy for Vector3Int
Auto Trait Implementations§
impl Freeze for Vector3Int
impl RefUnwindSafe for Vector3Int
impl Send for Vector3Int
impl Sync for Vector3Int
impl Unpin for Vector3Int
impl UnwindSafe for Vector3Int
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