[][src]Struct cocoa::quartzcore::CATransform3D

#[repr(C)]pub struct CATransform3D {
    pub m11: CGFloat,
    pub m12: CGFloat,
    pub m13: CGFloat,
    pub m14: CGFloat,
    pub m21: CGFloat,
    pub m22: CGFloat,
    pub m23: CGFloat,
    pub m24: CGFloat,
    pub m31: CGFloat,
    pub m32: CGFloat,
    pub m33: CGFloat,
    pub m34: CGFloat,
    pub m41: CGFloat,
    pub m42: CGFloat,
    pub m43: CGFloat,
    pub m44: CGFloat,
}

Fields

m11: CGFloatm12: CGFloatm13: CGFloatm14: CGFloatm21: CGFloatm22: CGFloatm23: CGFloatm24: CGFloatm31: CGFloatm32: CGFloatm33: CGFloatm34: CGFloatm41: CGFloatm42: CGFloatm43: CGFloatm44: CGFloat

Implementations

impl CATransform3D[src]

pub const IDENTITY: CATransform3D[src]

pub fn from_translation(tx: CGFloat, ty: CGFloat, tz: CGFloat) -> CATransform3D[src]

pub fn from_scale(sx: CGFloat, sy: CGFloat, sz: CGFloat) -> CATransform3D[src]

pub fn from_rotation(
    angle: CGFloat,
    x: CGFloat,
    y: CGFloat,
    z: CGFloat
) -> CATransform3D
[src]

pub fn affine(affine_transform: CGAffineTransform) -> CATransform3D[src]

pub fn is_identity(&self) -> bool[src]

pub fn translate(&self, tx: CGFloat, ty: CGFloat, tz: CGFloat) -> CATransform3D[src]

pub fn scale(&self, sx: CGFloat, sy: CGFloat, sz: CGFloat) -> CATransform3D[src]

pub fn rotate(
    &self,
    angle: CGFloat,
    x: CGFloat,
    y: CGFloat,
    z: CGFloat
) -> CATransform3D
[src]

pub fn invert(&self) -> CATransform3D[src]

pub fn is_affine(&self) -> bool[src]

pub fn to_affine(&self) -> CGAffineTransform[src]

Trait Implementations

impl Clone for CATransform3D[src]

impl Copy for CATransform3D[src]

impl Mul<CATransform3D> for CATransform3D[src]

type Output = CATransform3D

The resulting type after applying the * operator.

impl PartialEq<CATransform3D> for CATransform3D[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.