Skip to main content

Vec3Swizzles

Trait Vec3Swizzles 

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

Show 123 methods // Required methods fn xx(self) -> Self::Vec2; fn xy(self) -> Self::Vec2; fn with_xy(self, rhs: Self::Vec2) -> Self; fn xz(self) -> Self::Vec2; fn with_xz(self, rhs: Self::Vec2) -> Self; fn yx(self) -> Self::Vec2; fn with_yx(self, rhs: Self::Vec2) -> Self; fn yy(self) -> Self::Vec2; fn yz(self) -> Self::Vec2; fn with_yz(self, rhs: Self::Vec2) -> Self; fn zx(self) -> Self::Vec2; fn with_zx(self, rhs: Self::Vec2) -> Self; fn zy(self) -> Self::Vec2; fn with_zy(self, rhs: Self::Vec2) -> Self; 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§

type Vec2

type Vec4

Required Methods§

fn xx(self) -> Self::Vec2

fn xy(self) -> Self::Vec2

fn with_xy(self, rhs: Self::Vec2) -> Self

fn xz(self) -> Self::Vec2

fn with_xz(self, rhs: Self::Vec2) -> Self

fn yx(self) -> Self::Vec2

fn with_yx(self, rhs: Self::Vec2) -> Self

fn yy(self) -> Self::Vec2

fn yz(self) -> Self::Vec2

fn with_yz(self, rhs: Self::Vec2) -> Self

fn zx(self) -> Self::Vec2

fn with_zx(self, rhs: Self::Vec2) -> Self

fn zy(self) -> Self::Vec2

fn with_zy(self, rhs: Self::Vec2) -> Self

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 Methods§

fn xyz(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§