Trait na::Swizzles2[][src]

pub trait Swizzles2<T: Scalar> {
    type Swizzle2;
    fn xy(&self) -> Self::Swizzle2;
fn yx(&self) -> Self::Swizzle2; }

Associated Types

type Swizzle2[src]

Loading content...

Required methods

fn xy(&self) -> Self::Swizzle2[src]

fn yx(&self) -> Self::Swizzle2[src]

Loading content...

Implementors

impl<T: Scalar> Swizzles2<T> for Point2<T>[src]

type Swizzle2 = Point2<T>

impl<T: Scalar> Swizzles2<T> for Point3<T>[src]

type Swizzle2 = Point2<T>

impl<T: Scalar> Swizzles2<T> for Point4<T>[src]

type Swizzle2 = Point2<T>

impl<T: Scalar> Swizzles2<T> for Point5<T>[src]

type Swizzle2 = Point2<T>

impl<T: Scalar> Swizzles2<T> for Point6<T>[src]

type Swizzle2 = Point2<T>

impl<T: Scalar> Swizzles2<T> for Vector2<T>[src]

type Swizzle2 = Vector2<T>

impl<T: Scalar> Swizzles2<T> for Vector3<T>[src]

type Swizzle2 = Vector2<T>

impl<T: Scalar> Swizzles2<T> for Vector4<T>[src]

type Swizzle2 = Vector2<T>

impl<T: Scalar> Swizzles2<T> for Vector5<T>[src]

type Swizzle2 = Vector2<T>

impl<T: Scalar> Swizzles2<T> for Vector6<T>[src]

type Swizzle2 = Vector2<T>

Loading content...