Trait na::Swizzles3

source ·
pub trait Swizzles3<T: Scalar>: Swizzles2<T> {
    type Swizzle3;

    // Required methods
    fn xyz(&self) -> Self::Swizzle3;
    fn xzy(&self) -> Self::Swizzle3;
    fn yxz(&self) -> Self::Swizzle3;
    fn yzx(&self) -> Self::Swizzle3;
    fn zxy(&self) -> Self::Swizzle3;
    fn zyx(&self) -> Self::Swizzle3;
    fn yz(&self) -> Self::Swizzle2;
    fn xz(&self) -> Self::Swizzle2;
    fn zy(&self) -> Self::Swizzle2;
    fn zx(&self) -> Self::Swizzle2;
}

Required Associated Types§

Required Methods§

source

fn xyz(&self) -> Self::Swizzle3

source

fn xzy(&self) -> Self::Swizzle3

source

fn yxz(&self) -> Self::Swizzle3

source

fn yzx(&self) -> Self::Swizzle3

source

fn zxy(&self) -> Self::Swizzle3

source

fn zyx(&self) -> Self::Swizzle3

source

fn yz(&self) -> Self::Swizzle2

source

fn xz(&self) -> Self::Swizzle2

source

fn zy(&self) -> Self::Swizzle2

source

fn zx(&self) -> Self::Swizzle2

Implementors§

source§

impl<T: Scalar> Swizzles3<T> for Point3<T>

§

type Swizzle3 = OPoint<T, Const<3>>

source§

impl<T: Scalar> Swizzles3<T> for Point4<T>

§

type Swizzle3 = OPoint<T, Const<3>>

source§

impl<T: Scalar> Swizzles3<T> for Point5<T>

§

type Swizzle3 = OPoint<T, Const<3>>

source§

impl<T: Scalar> Swizzles3<T> for Point6<T>

§

type Swizzle3 = OPoint<T, Const<3>>

source§

impl<T: Scalar> Swizzles3<T> for Vector3<T>

§

type Swizzle3 = Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>

source§

impl<T: Scalar> Swizzles3<T> for Vector4<T>

§

type Swizzle3 = Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>

source§

impl<T: Scalar> Swizzles3<T> for Vector5<T>

§

type Swizzle3 = Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>

source§

impl<T: Scalar> Swizzles3<T> for Vector6<T>

§

type Swizzle3 = Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>