Struct glam::i32::IVec4 [−][src]
A 4-dimensional vector.
Implementations
impl IVec4
[src]
pub const ZERO: Self
[src]
All zeroes.
pub const ONE: Self
[src]
All ones.
pub const X: Self
[src]
[1, 0, 0, 0]
: a unit-length vector pointing along the positive X axis.
pub const Y: Self
[src]
[0, 1, 0, 0]
: a unit-length vector pointing along the positive Y axis.
pub const Z: Self
[src]
[0, 0, 1, 0]
: a unit-length vector pointing along the positive Z axis.
pub const W: Self
[src]
[0, 0, 0, 1]
: a unit-length vector pointing along the positive W axis.
pub fn new(x: i32, y: i32, z: i32, w: i32) -> Self
[src]
Creates a new 4D vector.
pub const fn unit_x() -> Self
[src]
Use Vec4::X instead
Creates a 4D vector with values [x: 1.0, y: 0.0, z: 0.0, w: 0.0]
.
pub const fn unit_y() -> Self
[src]
Use Vec4::Y instead
Creates a 4D vector with values [x: 0.0, y: 1.0, z: 0.0, w: 0.0]
.
pub const fn unit_z() -> Self
[src]
Use Vec4::Z instead
Creates a 4D vector with values [x: 0.0, y: 0.0, z: 1.0, w: 0.0]
.
pub const fn unit_w() -> Self
[src]
Use Vec4::W instead
Creates a 4D vector with values [x: 0.0, y: 0.0, z: 0.0, w: 1.0]
.
pub fn truncate(self) -> IVec3
[src]
Creates a Vec3
from the x
, y
and z
elements of self
, discarding w
.
Truncation to Vec3
may also be performed by using self.xyz()
or Vec3::from()
.
To truncate to Vec3A
use Vec3A::from()
.
pub const fn zero() -> Self
[src]
use ZERO constant instead
Creates a vector with all elements set to 0.0
.
pub const fn one() -> Self
[src]
use ONE constant instead
Creates a vector with all elements set to 1.0
.
pub fn splat(v: i32) -> Self
[src]
Creates a vector with all elements set to v
.
pub fn select(mask: BVec4, if_true: IVec4, if_false: IVec4) -> IVec4
[src]
Creates a vector from the elements in if_true
and if_false
, selecting which to use
for each element of self
.
A true element in the mask uses the corresponding element from if_true
, and false
uses the element from if_false
.
pub fn dot(self, other: Self) -> i32
[src]
Computes the dot product of self
and other
.
pub fn min(self, other: Self) -> Self
[src]
Returns a vector containing the mininum values for each element of self
and other
.
In other words this computes [self.x.max(other.x), self.y.max(other.y), ..]
.
pub fn max(self, other: Self) -> Self
[src]
Returns a vector containing the maximum values for each element of self
and other
.
In other words this computes [self.x.max(other.x), self.y.max(other.y), ..]
.
pub fn min_element(self) -> i32
[src]
Returns the horizontal minimum of self
.
In other words this computes min(x, y, ..)
.
pub fn max_element(self) -> i32
[src]
Returns the horizontal maximum of self
.
In other words this computes max(x, y, ..)
.
pub fn cmpeq(self, other: Self) -> BVec4
[src]
Returns a vector mask containing the result of a ==
comparison for each element of
self
and other
.
In other words, this computes [self.x == other.x, self.y == other.y, ..]
for all
elements.
pub fn cmpne(self, other: Self) -> BVec4
[src]
Returns a vector mask containing the result of a !=
comparison for each element of
self
and other
.
In other words this computes [self.x != other.x, self.y != other.y, ..]
for all
elements.
pub fn cmpge(self, other: Self) -> BVec4
[src]
Returns a vector mask containing the result of a >=
comparison for each element of
self
and other
.
In other words this computes [self.x >= other.x, self.y >= other.y, ..]
for all
elements.
pub fn cmpgt(self, other: Self) -> BVec4
[src]
Returns a vector mask containing the result of a >
comparison for each element of
self
and other
.
In other words this computes [self.x > other.x, self.y > other.y, ..]
for all
elements.
pub fn cmple(self, other: Self) -> BVec4
[src]
Returns a vector mask containing the result of a <=
comparison for each element of
self
and other
.
In other words this computes [self.x <= other.x, self.y <= other.y, ..]
for all
elements.
pub fn cmplt(self, other: Self) -> BVec4
[src]
Returns a vector mask containing the result of a <
comparison for each element of
self
and other
.
In other words this computes [self.x < other.x, self.y < other.y, ..]
for all
elements.
pub fn from_slice_unaligned(slice: &[i32]) -> Self
[src]
Creates a vector from the first N values in slice
.
Panics
Panics if slice
is less than N elements long.
pub fn write_to_slice_unaligned(self, slice: &mut [i32])
[src]
Writes the elements of self
to the first N elements in slice
.
Panics
Panics if slice
is less than N elements long.
pub fn abs(self) -> Self
[src]
Returns a vector containing the absolute value of each element of self
.
pub fn signum(self) -> Self
[src]
Returns a vector with elements representing the sign of self
.
1.0
if the number is positive,+0.0
orINFINITY
-1.0
if the number is negative,-0.0
orNEG_INFINITY
NAN
if the number isNAN
pub fn as_f32(&self) -> Vec4
[src]
Casts all elements of self
to f32
.
pub fn as_f64(&self) -> DVec4
[src]
Casts all elements of self
to f64
.
pub fn as_u32(&self) -> UVec4
[src]
Casts all elements of self
to u32
.
Trait Implementations
impl Add<IVec4> for IVec4
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl AddAssign<IVec4> for IVec4
[src]
fn add_assign(&mut self, other: Self)
[src]
impl AsMut<[i32; 4]> for IVec4
[src]
impl AsRef<[i32; 4]> for IVec4
[src]
impl Clone for IVec4
[src]
impl Copy for IVec4
[src]
impl Debug for IVec4
[src]
impl Default for IVec4
[src]
impl Deref for IVec4
[src]
type Target = XYZW<i32>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for IVec4
[src]
impl Display for IVec4
[src]
impl Div<IVec4> for IVec4
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: IVec4) -> Self
[src]
impl Div<i32> for IVec4
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: i32) -> Self
[src]
impl DivAssign<IVec4> for IVec4
[src]
fn div_assign(&mut self, other: IVec4)
[src]
impl DivAssign<i32> for IVec4
[src]
fn div_assign(&mut self, other: i32)
[src]
impl Eq for IVec4
[src]
impl From<[i32; 4]> for IVec4
[src]
impl From<(IVec3, i32)> for IVec4
[src]
impl From<(i32, i32, i32, i32)> for IVec4
[src]
impl From<IVec4> for IVec3
[src]
fn from(v: IVec4) -> Self
[src]
Creates a 3D vector from the x
, y
and z
elements of self
, discarding w
.
impl From<IVec4> for IVec2
[src]
fn from(v: IVec4) -> Self
[src]
Creates a 2D vector from the x
and y
elements of self
, discarding z
and
w
.
impl Hash for IVec4
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Index<usize> for IVec4
[src]
type Output = i32
The returned type after indexing.
fn index(&self, index: usize) -> &Self::Output
[src]
impl IndexMut<usize> for IVec4
[src]
impl Mul<IVec4> for IVec4
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: IVec4) -> Self
[src]
impl Mul<i32> for IVec4
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: i32) -> Self
[src]
impl MulAssign<IVec4> for IVec4
[src]
fn mul_assign(&mut self, other: IVec4)
[src]
impl MulAssign<i32> for IVec4
[src]
fn mul_assign(&mut self, other: i32)
[src]
impl Neg for IVec4
[src]
impl PartialEq<IVec4> for IVec4
[src]
impl PartialOrd<IVec4> for IVec4
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> Product<&'a IVec4> for IVec4
[src]
impl Sub<IVec4> for IVec4
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: IVec4) -> Self
[src]
impl SubAssign<IVec4> for IVec4
[src]
fn sub_assign(&mut self, other: IVec4)
[src]
impl<'a> Sum<&'a IVec4> for IVec4
[src]
impl Vec4Swizzles for IVec4
[src]
type Vec2 = IVec2
type Vec3 = IVec3
fn xxxx(self) -> IVec4
[src]
fn xxxy(self) -> IVec4
[src]
fn xxxz(self) -> IVec4
[src]
fn xxxw(self) -> IVec4
[src]
fn xxyx(self) -> IVec4
[src]
fn xxyy(self) -> IVec4
[src]
fn xxyz(self) -> IVec4
[src]
fn xxyw(self) -> IVec4
[src]
fn xxzx(self) -> IVec4
[src]
fn xxzy(self) -> IVec4
[src]
fn xxzz(self) -> IVec4
[src]
fn xxzw(self) -> IVec4
[src]
fn xxwx(self) -> IVec4
[src]
fn xxwy(self) -> IVec4
[src]
fn xxwz(self) -> IVec4
[src]
fn xxww(self) -> IVec4
[src]
fn xyxx(self) -> IVec4
[src]
fn xyxy(self) -> IVec4
[src]
fn xyxz(self) -> IVec4
[src]
fn xyxw(self) -> IVec4
[src]
fn xyyx(self) -> IVec4
[src]
fn xyyy(self) -> IVec4
[src]
fn xyyz(self) -> IVec4
[src]
fn xyyw(self) -> IVec4
[src]
fn xyzx(self) -> IVec4
[src]
fn xyzy(self) -> IVec4
[src]
fn xyzz(self) -> IVec4
[src]
fn xywx(self) -> IVec4
[src]
fn xywy(self) -> IVec4
[src]
fn xywz(self) -> IVec4
[src]
fn xyww(self) -> IVec4
[src]
fn xzxx(self) -> IVec4
[src]
fn xzxy(self) -> IVec4
[src]
fn xzxz(self) -> IVec4
[src]
fn xzxw(self) -> IVec4
[src]
fn xzyx(self) -> IVec4
[src]
fn xzyy(self) -> IVec4
[src]
fn xzyz(self) -> IVec4
[src]
fn xzyw(self) -> IVec4
[src]
fn xzzx(self) -> IVec4
[src]
fn xzzy(self) -> IVec4
[src]
fn xzzz(self) -> IVec4
[src]
fn xzzw(self) -> IVec4
[src]
fn xzwx(self) -> IVec4
[src]
fn xzwy(self) -> IVec4
[src]
fn xzwz(self) -> IVec4
[src]
fn xzww(self) -> IVec4
[src]
fn xwxx(self) -> IVec4
[src]
fn xwxy(self) -> IVec4
[src]
fn xwxz(self) -> IVec4
[src]
fn xwxw(self) -> IVec4
[src]
fn xwyx(self) -> IVec4
[src]
fn xwyy(self) -> IVec4
[src]
fn xwyz(self) -> IVec4
[src]
fn xwyw(self) -> IVec4
[src]
fn xwzx(self) -> IVec4
[src]
fn xwzy(self) -> IVec4
[src]
fn xwzz(self) -> IVec4
[src]
fn xwzw(self) -> IVec4
[src]
fn xwwx(self) -> IVec4
[src]
fn xwwy(self) -> IVec4
[src]
fn xwwz(self) -> IVec4
[src]
fn xwww(self) -> IVec4
[src]
fn yxxx(self) -> IVec4
[src]
fn yxxy(self) -> IVec4
[src]
fn yxxz(self) -> IVec4
[src]
fn yxxw(self) -> IVec4
[src]
fn yxyx(self) -> IVec4
[src]
fn yxyy(self) -> IVec4
[src]
fn yxyz(self) -> IVec4
[src]
fn yxyw(self) -> IVec4
[src]
fn yxzx(self) -> IVec4
[src]
fn yxzy(self) -> IVec4
[src]
fn yxzz(self) -> IVec4
[src]
fn yxzw(self) -> IVec4
[src]
fn yxwx(self) -> IVec4
[src]
fn yxwy(self) -> IVec4
[src]
fn yxwz(self) -> IVec4
[src]
fn yxww(self) -> IVec4
[src]
fn yyxx(self) -> IVec4
[src]
fn yyxy(self) -> IVec4
[src]
fn yyxz(self) -> IVec4
[src]
fn yyxw(self) -> IVec4
[src]
fn yyyx(self) -> IVec4
[src]
fn yyyy(self) -> IVec4
[src]
fn yyyz(self) -> IVec4
[src]
fn yyyw(self) -> IVec4
[src]
fn yyzx(self) -> IVec4
[src]
fn yyzy(self) -> IVec4
[src]
fn yyzz(self) -> IVec4
[src]
fn yyzw(self) -> IVec4
[src]
fn yywx(self) -> IVec4
[src]
fn yywy(self) -> IVec4
[src]
fn yywz(self) -> IVec4
[src]
fn yyww(self) -> IVec4
[src]
fn yzxx(self) -> IVec4
[src]
fn yzxy(self) -> IVec4
[src]
fn yzxz(self) -> IVec4
[src]
fn yzxw(self) -> IVec4
[src]
fn yzyx(self) -> IVec4
[src]
fn yzyy(self) -> IVec4
[src]
fn yzyz(self) -> IVec4
[src]
fn yzyw(self) -> IVec4
[src]
fn yzzx(self) -> IVec4
[src]
fn yzzy(self) -> IVec4
[src]
fn yzzz(self) -> IVec4
[src]
fn yzzw(self) -> IVec4
[src]
fn yzwx(self) -> IVec4
[src]
fn yzwy(self) -> IVec4
[src]
fn yzwz(self) -> IVec4
[src]
fn yzww(self) -> IVec4
[src]
fn ywxx(self) -> IVec4
[src]
fn ywxy(self) -> IVec4
[src]
fn ywxz(self) -> IVec4
[src]
fn ywxw(self) -> IVec4
[src]
fn ywyx(self) -> IVec4
[src]
fn ywyy(self) -> IVec4
[src]
fn ywyz(self) -> IVec4
[src]
fn ywyw(self) -> IVec4
[src]
fn ywzx(self) -> IVec4
[src]
fn ywzy(self) -> IVec4
[src]
fn ywzz(self) -> IVec4
[src]
fn ywzw(self) -> IVec4
[src]
fn ywwx(self) -> IVec4
[src]
fn ywwy(self) -> IVec4
[src]
fn ywwz(self) -> IVec4
[src]
fn ywww(self) -> IVec4
[src]
fn zxxx(self) -> IVec4
[src]
fn zxxy(self) -> IVec4
[src]
fn zxxz(self) -> IVec4
[src]
fn zxxw(self) -> IVec4
[src]
fn zxyx(self) -> IVec4
[src]
fn zxyy(self) -> IVec4
[src]
fn zxyz(self) -> IVec4
[src]
fn zxyw(self) -> IVec4
[src]
fn zxzx(self) -> IVec4
[src]
fn zxzy(self) -> IVec4
[src]
fn zxzz(self) -> IVec4
[src]
fn zxzw(self) -> IVec4
[src]
fn zxwx(self) -> IVec4
[src]
fn zxwy(self) -> IVec4
[src]
fn zxwz(self) -> IVec4
[src]
fn zxww(self) -> IVec4
[src]
fn zyxx(self) -> IVec4
[src]
fn zyxy(self) -> IVec4
[src]
fn zyxz(self) -> IVec4
[src]
fn zyxw(self) -> IVec4
[src]
fn zyyx(self) -> IVec4
[src]
fn zyyy(self) -> IVec4
[src]
fn zyyz(self) -> IVec4
[src]
fn zyyw(self) -> IVec4
[src]
fn zyzx(self) -> IVec4
[src]
fn zyzy(self) -> IVec4
[src]
fn zyzz(self) -> IVec4
[src]
fn zyzw(self) -> IVec4
[src]
fn zywx(self) -> IVec4
[src]
fn zywy(self) -> IVec4
[src]
fn zywz(self) -> IVec4
[src]
fn zyww(self) -> IVec4
[src]
fn zzxx(self) -> IVec4
[src]
fn zzxy(self) -> IVec4
[src]
fn zzxz(self) -> IVec4
[src]
fn zzxw(self) -> IVec4
[src]
fn zzyx(self) -> IVec4
[src]
fn zzyy(self) -> IVec4
[src]
fn zzyz(self) -> IVec4
[src]
fn zzyw(self) -> IVec4
[src]
fn zzzx(self) -> IVec4
[src]
fn zzzy(self) -> IVec4
[src]
fn zzzz(self) -> IVec4
[src]
fn zzzw(self) -> IVec4
[src]
fn zzwx(self) -> IVec4
[src]
fn zzwy(self) -> IVec4
[src]
fn zzwz(self) -> IVec4
[src]
fn zzww(self) -> IVec4
[src]
fn zwxx(self) -> IVec4
[src]
fn zwxy(self) -> IVec4
[src]
fn zwxz(self) -> IVec4
[src]
fn zwxw(self) -> IVec4
[src]
fn zwyx(self) -> IVec4
[src]
fn zwyy(self) -> IVec4
[src]
fn zwyz(self) -> IVec4
[src]
fn zwyw(self) -> IVec4
[src]
fn zwzx(self) -> IVec4
[src]
fn zwzy(self) -> IVec4
[src]
fn zwzz(self) -> IVec4
[src]
fn zwzw(self) -> IVec4
[src]
fn zwwx(self) -> IVec4
[src]
fn zwwy(self) -> IVec4
[src]
fn zwwz(self) -> IVec4
[src]
fn zwww(self) -> IVec4
[src]
fn wxxx(self) -> IVec4
[src]
fn wxxy(self) -> IVec4
[src]
fn wxxz(self) -> IVec4
[src]
fn wxxw(self) -> IVec4
[src]
fn wxyx(self) -> IVec4
[src]
fn wxyy(self) -> IVec4
[src]
fn wxyz(self) -> IVec4
[src]
fn wxyw(self) -> IVec4
[src]
fn wxzx(self) -> IVec4
[src]
fn wxzy(self) -> IVec4
[src]
fn wxzz(self) -> IVec4
[src]
fn wxzw(self) -> IVec4
[src]
fn wxwx(self) -> IVec4
[src]
fn wxwy(self) -> IVec4
[src]
fn wxwz(self) -> IVec4
[src]
fn wxww(self) -> IVec4
[src]
fn wyxx(self) -> IVec4
[src]
fn wyxy(self) -> IVec4
[src]
fn wyxz(self) -> IVec4
[src]
fn wyxw(self) -> IVec4
[src]
fn wyyx(self) -> IVec4
[src]
fn wyyy(self) -> IVec4
[src]
fn wyyz(self) -> IVec4
[src]
fn wyyw(self) -> IVec4
[src]
fn wyzx(self) -> IVec4
[src]
fn wyzy(self) -> IVec4
[src]
fn wyzz(self) -> IVec4
[src]
fn wyzw(self) -> IVec4
[src]
fn wywx(self) -> IVec4
[src]
fn wywy(self) -> IVec4
[src]
fn wywz(self) -> IVec4
[src]
fn wyww(self) -> IVec4
[src]
fn wzxx(self) -> IVec4
[src]
fn wzxy(self) -> IVec4
[src]
fn wzxz(self) -> IVec4
[src]
fn wzxw(self) -> IVec4
[src]
fn wzyx(self) -> IVec4
[src]
fn wzyy(self) -> IVec4
[src]
fn wzyz(self) -> IVec4
[src]
fn wzyw(self) -> IVec4
[src]
fn wzzx(self) -> IVec4
[src]
fn wzzy(self) -> IVec4
[src]
fn wzzz(self) -> IVec4
[src]
fn wzzw(self) -> IVec4
[src]
fn wzwx(self) -> IVec4
[src]
fn wzwy(self) -> IVec4
[src]
fn wzwz(self) -> IVec4
[src]
fn wzww(self) -> IVec4
[src]
fn wwxx(self) -> IVec4
[src]
fn wwxy(self) -> IVec4
[src]
fn wwxz(self) -> IVec4
[src]
fn wwxw(self) -> IVec4
[src]
fn wwyx(self) -> IVec4
[src]
fn wwyy(self) -> IVec4
[src]
fn wwyz(self) -> IVec4
[src]
fn wwyw(self) -> IVec4
[src]
fn wwzx(self) -> IVec4
[src]
fn wwzy(self) -> IVec4
[src]
fn wwzz(self) -> IVec4
[src]
fn wwzw(self) -> IVec4
[src]
fn wwwx(self) -> IVec4
[src]
fn wwwy(self) -> IVec4
[src]
fn wwwz(self) -> IVec4
[src]
fn wwww(self) -> IVec4
[src]
fn xxx(self) -> IVec3
[src]
fn xxy(self) -> IVec3
[src]
fn xxz(self) -> IVec3
[src]
fn xxw(self) -> IVec3
[src]
fn xyx(self) -> IVec3
[src]
fn xyy(self) -> IVec3
[src]
fn xyz(self) -> IVec3
[src]
fn xyw(self) -> IVec3
[src]
fn xzx(self) -> IVec3
[src]
fn xzy(self) -> IVec3
[src]
fn xzz(self) -> IVec3
[src]
fn xzw(self) -> IVec3
[src]
fn xwx(self) -> IVec3
[src]
fn xwy(self) -> IVec3
[src]
fn xwz(self) -> IVec3
[src]
fn xww(self) -> IVec3
[src]
fn yxx(self) -> IVec3
[src]
fn yxy(self) -> IVec3
[src]
fn yxz(self) -> IVec3
[src]
fn yxw(self) -> IVec3
[src]
fn yyx(self) -> IVec3
[src]
fn yyy(self) -> IVec3
[src]
fn yyz(self) -> IVec3
[src]
fn yyw(self) -> IVec3
[src]
fn yzx(self) -> IVec3
[src]
fn yzy(self) -> IVec3
[src]
fn yzz(self) -> IVec3
[src]
fn yzw(self) -> IVec3
[src]
fn ywx(self) -> IVec3
[src]
fn ywy(self) -> IVec3
[src]
fn ywz(self) -> IVec3
[src]
fn yww(self) -> IVec3
[src]
fn zxx(self) -> IVec3
[src]
fn zxy(self) -> IVec3
[src]
fn zxz(self) -> IVec3
[src]
fn zxw(self) -> IVec3
[src]
fn zyx(self) -> IVec3
[src]
fn zyy(self) -> IVec3
[src]
fn zyz(self) -> IVec3
[src]
fn zyw(self) -> IVec3
[src]
fn zzx(self) -> IVec3
[src]
fn zzy(self) -> IVec3
[src]
fn zzz(self) -> IVec3
[src]
fn zzw(self) -> IVec3
[src]
fn zwx(self) -> IVec3
[src]
fn zwy(self) -> IVec3
[src]
fn zwz(self) -> IVec3
[src]
fn zww(self) -> IVec3
[src]
fn wxx(self) -> IVec3
[src]
fn wxy(self) -> IVec3
[src]
fn wxz(self) -> IVec3
[src]
fn wxw(self) -> IVec3
[src]
fn wyx(self) -> IVec3
[src]
fn wyy(self) -> IVec3
[src]
fn wyz(self) -> IVec3
[src]
fn wyw(self) -> IVec3
[src]
fn wzx(self) -> IVec3
[src]
fn wzy(self) -> IVec3
[src]
fn wzz(self) -> IVec3
[src]
fn wzw(self) -> IVec3
[src]
fn wwx(self) -> IVec3
[src]
fn wwy(self) -> IVec3
[src]
fn wwz(self) -> IVec3
[src]
fn www(self) -> IVec3
[src]
fn xx(self) -> IVec2
[src]
fn xy(self) -> IVec2
[src]
fn xz(self) -> IVec2
[src]
fn xw(self) -> IVec2
[src]
fn yx(self) -> IVec2
[src]
fn yy(self) -> IVec2
[src]
fn yz(self) -> IVec2
[src]
fn yw(self) -> IVec2
[src]
fn zx(self) -> IVec2
[src]
fn zy(self) -> IVec2
[src]
fn zz(self) -> IVec2
[src]
fn zw(self) -> IVec2
[src]
fn wx(self) -> IVec2
[src]
fn wy(self) -> IVec2
[src]
fn wz(self) -> IVec2
[src]
fn ww(self) -> IVec2
[src]
Auto Trait Implementations
impl RefUnwindSafe for IVec4
impl Send for IVec4
impl Sync for IVec4
impl Unpin for IVec4
impl UnwindSafe for IVec4
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,