Trait bevy::math::Vec3Swizzles

source ·
pub trait Vec3Swizzles: Sized + Copy + Clone {
    type Vec2;
    type Vec4;

Show 117 methods // Required methods fn xx(self) -> Self::Vec2; fn xy(self) -> Self::Vec2; fn xz(self) -> Self::Vec2; fn yx(self) -> Self::Vec2; fn yy(self) -> Self::Vec2; fn yz(self) -> Self::Vec2; fn zx(self) -> Self::Vec2; fn zy(self) -> Self::Vec2; fn zz(self) -> Self::Vec2; fn xxx(self) -> Self; fn xxy(self) -> Self; fn xxz(self) -> Self; fn xyx(self) -> Self; fn xyy(self) -> Self; fn xzx(self) -> Self; fn xzy(self) -> Self; fn xzz(self) -> Self; fn yxx(self) -> Self; fn yxy(self) -> Self; fn yxz(self) -> Self; fn yyx(self) -> Self; fn yyy(self) -> Self; fn yyz(self) -> Self; fn yzx(self) -> Self; fn yzy(self) -> Self; fn yzz(self) -> Self; fn zxx(self) -> Self; fn zxy(self) -> Self; fn zxz(self) -> Self; fn zyx(self) -> Self; fn zyy(self) -> Self; fn zyz(self) -> Self; fn zzx(self) -> Self; fn zzy(self) -> Self; fn zzz(self) -> Self; fn xxxx(self) -> Self::Vec4; fn xxxy(self) -> Self::Vec4; fn xxxz(self) -> Self::Vec4; fn xxyx(self) -> Self::Vec4; fn xxyy(self) -> Self::Vec4; fn xxyz(self) -> Self::Vec4; fn xxzx(self) -> Self::Vec4; fn xxzy(self) -> Self::Vec4; fn xxzz(self) -> Self::Vec4; fn xyxx(self) -> Self::Vec4; fn xyxy(self) -> Self::Vec4; fn xyxz(self) -> Self::Vec4; fn xyyx(self) -> Self::Vec4; fn xyyy(self) -> Self::Vec4; fn xyyz(self) -> Self::Vec4; fn xyzx(self) -> Self::Vec4; fn xyzy(self) -> Self::Vec4; fn xyzz(self) -> Self::Vec4; fn xzxx(self) -> Self::Vec4; fn xzxy(self) -> Self::Vec4; fn xzxz(self) -> Self::Vec4; fn xzyx(self) -> Self::Vec4; fn xzyy(self) -> Self::Vec4; fn xzyz(self) -> Self::Vec4; fn xzzx(self) -> Self::Vec4; fn xzzy(self) -> Self::Vec4; fn xzzz(self) -> Self::Vec4; fn yxxx(self) -> Self::Vec4; fn yxxy(self) -> Self::Vec4; fn yxxz(self) -> Self::Vec4; fn yxyx(self) -> Self::Vec4; fn yxyy(self) -> Self::Vec4; fn yxyz(self) -> Self::Vec4; fn yxzx(self) -> Self::Vec4; fn yxzy(self) -> Self::Vec4; fn yxzz(self) -> Self::Vec4; fn yyxx(self) -> Self::Vec4; fn yyxy(self) -> Self::Vec4; fn yyxz(self) -> Self::Vec4; fn yyyx(self) -> Self::Vec4; fn yyyy(self) -> Self::Vec4; fn yyyz(self) -> Self::Vec4; fn yyzx(self) -> Self::Vec4; fn yyzy(self) -> Self::Vec4; fn yyzz(self) -> Self::Vec4; fn yzxx(self) -> Self::Vec4; fn yzxy(self) -> Self::Vec4; fn yzxz(self) -> Self::Vec4; fn yzyx(self) -> Self::Vec4; fn yzyy(self) -> Self::Vec4; fn yzyz(self) -> Self::Vec4; fn yzzx(self) -> Self::Vec4; fn yzzy(self) -> Self::Vec4; fn yzzz(self) -> Self::Vec4; fn zxxx(self) -> Self::Vec4; fn zxxy(self) -> Self::Vec4; fn zxxz(self) -> Self::Vec4; fn zxyx(self) -> Self::Vec4; fn zxyy(self) -> Self::Vec4; fn zxyz(self) -> Self::Vec4; fn zxzx(self) -> Self::Vec4; fn zxzy(self) -> Self::Vec4; fn zxzz(self) -> Self::Vec4; fn zyxx(self) -> Self::Vec4; fn zyxy(self) -> Self::Vec4; fn zyxz(self) -> Self::Vec4; fn zyyx(self) -> Self::Vec4; fn zyyy(self) -> Self::Vec4; fn zyyz(self) -> Self::Vec4; fn zyzx(self) -> Self::Vec4; fn zyzy(self) -> Self::Vec4; fn zyzz(self) -> Self::Vec4; fn zzxx(self) -> Self::Vec4; fn zzxy(self) -> Self::Vec4; fn zzxz(self) -> Self::Vec4; fn zzyx(self) -> Self::Vec4; fn zzyy(self) -> Self::Vec4; fn zzyz(self) -> Self::Vec4; fn zzzx(self) -> Self::Vec4; fn zzzy(self) -> Self::Vec4; fn zzzz(self) -> Self::Vec4; // Provided method fn xyz(self) -> Self { ... }
}

Required Associated Types§

Required Methods§

source

fn xx(self) -> Self::Vec2

source

fn xy(self) -> Self::Vec2

source

fn xz(self) -> Self::Vec2

source

fn yx(self) -> Self::Vec2

source

fn yy(self) -> Self::Vec2

source

fn yz(self) -> Self::Vec2

source

fn zx(self) -> Self::Vec2

source

fn zy(self) -> Self::Vec2

source

fn zz(self) -> Self::Vec2

source

fn xxx(self) -> Self

source

fn xxy(self) -> Self

source

fn xxz(self) -> Self

source

fn xyx(self) -> Self

source

fn xyy(self) -> Self

source

fn xzx(self) -> Self

source

fn xzy(self) -> Self

source

fn xzz(self) -> Self

source

fn yxx(self) -> Self

source

fn yxy(self) -> Self

source

fn yxz(self) -> Self

source

fn yyx(self) -> Self

source

fn yyy(self) -> Self

source

fn yyz(self) -> Self

source

fn yzx(self) -> Self

source

fn yzy(self) -> Self

source

fn yzz(self) -> Self

source

fn zxx(self) -> Self

source

fn zxy(self) -> Self

source

fn zxz(self) -> Self

source

fn zyx(self) -> Self

source

fn zyy(self) -> Self

source

fn zyz(self) -> Self

source

fn zzx(self) -> Self

source

fn zzy(self) -> Self

source

fn zzz(self) -> Self

source

fn xxxx(self) -> Self::Vec4

source

fn xxxy(self) -> Self::Vec4

source

fn xxxz(self) -> Self::Vec4

source

fn xxyx(self) -> Self::Vec4

source

fn xxyy(self) -> Self::Vec4

source

fn xxyz(self) -> Self::Vec4

source

fn xxzx(self) -> Self::Vec4

source

fn xxzy(self) -> Self::Vec4

source

fn xxzz(self) -> Self::Vec4

source

fn xyxx(self) -> Self::Vec4

source

fn xyxy(self) -> Self::Vec4

source

fn xyxz(self) -> Self::Vec4

source

fn xyyx(self) -> Self::Vec4

source

fn xyyy(self) -> Self::Vec4

source

fn xyyz(self) -> Self::Vec4

source

fn xyzx(self) -> Self::Vec4

source

fn xyzy(self) -> Self::Vec4

source

fn xyzz(self) -> Self::Vec4

source

fn xzxx(self) -> Self::Vec4

source

fn xzxy(self) -> Self::Vec4

source

fn xzxz(self) -> Self::Vec4

source

fn xzyx(self) -> Self::Vec4

source

fn xzyy(self) -> Self::Vec4

source

fn xzyz(self) -> Self::Vec4

source

fn xzzx(self) -> Self::Vec4

source

fn xzzy(self) -> Self::Vec4

source

fn xzzz(self) -> Self::Vec4

source

fn yxxx(self) -> Self::Vec4

source

fn yxxy(self) -> Self::Vec4

source

fn yxxz(self) -> Self::Vec4

source

fn yxyx(self) -> Self::Vec4

source

fn yxyy(self) -> Self::Vec4

source

fn yxyz(self) -> Self::Vec4

source

fn yxzx(self) -> Self::Vec4

source

fn yxzy(self) -> Self::Vec4

source

fn yxzz(self) -> Self::Vec4

source

fn yyxx(self) -> Self::Vec4

source

fn yyxy(self) -> Self::Vec4

source

fn yyxz(self) -> Self::Vec4

source

fn yyyx(self) -> Self::Vec4

source

fn yyyy(self) -> Self::Vec4

source

fn yyyz(self) -> Self::Vec4

source

fn yyzx(self) -> Self::Vec4

source

fn yyzy(self) -> Self::Vec4

source

fn yyzz(self) -> Self::Vec4

source

fn yzxx(self) -> Self::Vec4

source

fn yzxy(self) -> Self::Vec4

source

fn yzxz(self) -> Self::Vec4

source

fn yzyx(self) -> Self::Vec4

source

fn yzyy(self) -> Self::Vec4

source

fn yzyz(self) -> Self::Vec4

source

fn yzzx(self) -> Self::Vec4

source

fn yzzy(self) -> Self::Vec4

source

fn yzzz(self) -> Self::Vec4

source

fn zxxx(self) -> Self::Vec4

source

fn zxxy(self) -> Self::Vec4

source

fn zxxz(self) -> Self::Vec4

source

fn zxyx(self) -> Self::Vec4

source

fn zxyy(self) -> Self::Vec4

source

fn zxyz(self) -> Self::Vec4

source

fn zxzx(self) -> Self::Vec4

source

fn zxzy(self) -> Self::Vec4

source

fn zxzz(self) -> Self::Vec4

source

fn zyxx(self) -> Self::Vec4

source

fn zyxy(self) -> Self::Vec4

source

fn zyxz(self) -> Self::Vec4

source

fn zyyx(self) -> Self::Vec4

source

fn zyyy(self) -> Self::Vec4

source

fn zyyz(self) -> Self::Vec4

source

fn zyzx(self) -> Self::Vec4

source

fn zyzy(self) -> Self::Vec4

source

fn zyzz(self) -> Self::Vec4

source

fn zzxx(self) -> Self::Vec4

source

fn zzxy(self) -> Self::Vec4

source

fn zzxz(self) -> Self::Vec4

source

fn zzyx(self) -> Self::Vec4

source

fn zzyy(self) -> Self::Vec4

source

fn zzyz(self) -> Self::Vec4

source

fn zzzx(self) -> Self::Vec4

source

fn zzzy(self) -> Self::Vec4

source

fn zzzz(self) -> Self::Vec4

Provided Methods§

source

fn xyz(self) -> Self

Object Safety§

This trait is not object safe.

Implementors§