#[repr(C)]pub struct Vec4 {
pub x: f32,
pub y: f32,
pub z: f32,
pub w: f32,
}Fields§
§x: f32§y: f32§z: f32§w: f32Implementations§
Source§impl Vec4
impl Vec4
pub const fn new(x: f32, y: f32, z: f32, w: f32) -> Self
Sourcepub fn sqr_magnitude(&self) -> f32
pub fn sqr_magnitude(&self) -> f32
Returns the square of the vector’s length.
Faster to compute than magnitude()
Sourcepub fn normalized(&self) -> Self
pub fn normalized(&self) -> Self
Returns a normalized copy of self
pub fn xx(&self) -> Vec2
Available on crate feature
swizzle only.pub fn xy(&self) -> Vec2
Available on crate feature
swizzle only.pub fn xz(&self) -> Vec2
Available on crate feature
swizzle only.pub fn xw(&self) -> Vec2
Available on crate feature
swizzle only.pub fn yx(&self) -> Vec2
Available on crate feature
swizzle only.pub fn yy(&self) -> Vec2
Available on crate feature
swizzle only.pub fn yz(&self) -> Vec2
Available on crate feature
swizzle only.pub fn yw(&self) -> Vec2
Available on crate feature
swizzle only.pub fn zx(&self) -> Vec2
Available on crate feature
swizzle only.pub fn zy(&self) -> Vec2
Available on crate feature
swizzle only.pub fn zz(&self) -> Vec2
Available on crate feature
swizzle only.pub fn zw(&self) -> Vec2
Available on crate feature
swizzle only.pub fn wx(&self) -> Vec2
Available on crate feature
swizzle only.pub fn wy(&self) -> Vec2
Available on crate feature
swizzle only.pub fn wz(&self) -> Vec2
Available on crate feature
swizzle only.pub fn ww(&self) -> Vec2
Available on crate feature
swizzle only.pub fn xxx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xxy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xxz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xxw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xyx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xyy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xyz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xyw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xzx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xzy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xzz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xzw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xwx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xwy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xwz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xww(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yxx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yxy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yxz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yxw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yyx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yyy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yyz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yyw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yzx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yzy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yzz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yzw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn ywx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn ywy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn ywz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn yww(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zxx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zxy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zxz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zxw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zyx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zyy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zyz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zyw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zzx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zzy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zzz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zzw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zwx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zwy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zwz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn zww(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wxx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wxy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wxz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wxw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wyx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wyy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wyz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wyw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wzx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wzy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wzz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wzw(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wwx(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wwy(&self) -> Vec3
Available on crate feature
swizzle only.pub fn wwz(&self) -> Vec3
Available on crate feature
swizzle only.pub fn www(&self) -> Vec3
Available on crate feature
swizzle only.pub fn xxxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xxww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xywx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xywy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xywz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xyww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xzww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn xwww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yxww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yywx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yywy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yywz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yyww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn yzww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn ywww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zxww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zywx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zywy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zywz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zyww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zzww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn zwww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wxww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wywx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wywy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wywz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wyww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wzww(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwxx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwxy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwxz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwxw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwyx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwyy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwyz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwyw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwzx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwzy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwzz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwzw(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwwx(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwwy(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwwz(&self) -> Vec4
Available on crate feature
swizzle only.pub fn wwww(&self) -> Vec4
Available on crate feature
swizzle only.Trait Implementations§
Source§impl AddAssign<&Vec4> for Vec4
impl AddAssign<&Vec4> for Vec4
Source§fn add_assign(&mut self, rhs: &Vec4)
fn add_assign(&mut self, rhs: &Vec4)
Performs the
+= operation. Read moreSource§impl AddAssign for Vec4
impl AddAssign for Vec4
Source§fn add_assign(&mut self, rhs: Vec4)
fn add_assign(&mut self, rhs: Vec4)
Performs the
+= operation. Read moreSource§impl DivAssign<&Vec4> for Vec4
impl DivAssign<&Vec4> for Vec4
Source§fn div_assign(&mut self, rhs: &Vec4)
fn div_assign(&mut self, rhs: &Vec4)
Performs the
/= operation. Read moreSource§impl DivAssign<&f32> for Vec4
impl DivAssign<&f32> for Vec4
Source§fn div_assign(&mut self, rhs: &f32)
fn div_assign(&mut self, rhs: &f32)
Performs the
/= operation. Read moreSource§impl DivAssign<f32> for Vec4
impl DivAssign<f32> for Vec4
Source§fn div_assign(&mut self, rhs: f32)
fn div_assign(&mut self, rhs: f32)
Performs the
/= operation. Read moreSource§impl DivAssign for Vec4
impl DivAssign for Vec4
Source§fn div_assign(&mut self, rhs: Vec4)
fn div_assign(&mut self, rhs: Vec4)
Performs the
/= operation. Read moreSource§impl MulAssign<&Vec4> for Vec4
impl MulAssign<&Vec4> for Vec4
Source§fn mul_assign(&mut self, rhs: &Vec4)
fn mul_assign(&mut self, rhs: &Vec4)
Performs the
*= operation. Read moreSource§impl MulAssign<&f32> for Vec4
impl MulAssign<&f32> for Vec4
Source§fn mul_assign(&mut self, rhs: &f32)
fn mul_assign(&mut self, rhs: &f32)
Performs the
*= operation. Read moreSource§impl MulAssign<f32> for Vec4
impl MulAssign<f32> for Vec4
Source§fn mul_assign(&mut self, rhs: f32)
fn mul_assign(&mut self, rhs: f32)
Performs the
*= operation. Read moreSource§impl MulAssign for Vec4
impl MulAssign for Vec4
Source§fn mul_assign(&mut self, rhs: Vec4)
fn mul_assign(&mut self, rhs: Vec4)
Performs the
*= operation. Read moreSource§impl SubAssign<&Vec4> for Vec4
impl SubAssign<&Vec4> for Vec4
Source§fn sub_assign(&mut self, rhs: &Vec4)
fn sub_assign(&mut self, rhs: &Vec4)
Performs the
-= operation. Read moreSource§impl SubAssign for Vec4
impl SubAssign for Vec4
Source§fn sub_assign(&mut self, rhs: Vec4)
fn sub_assign(&mut self, rhs: Vec4)
Performs the
-= operation. Read moreimpl Copy for Vec4
impl StructuralPartialEq for Vec4
Auto Trait Implementations§
impl Freeze for Vec4
impl RefUnwindSafe for Vec4
impl Send for Vec4
impl Sync for Vec4
impl Unpin for Vec4
impl UnwindSafe for Vec4
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