#[repr(C)]pub struct CATransform3D {Show 16 fields
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,
}
Available on crate features
CATransform3D
and objc2-core-foundation
only.Expand description
Fields§
§m11: CGFloat
§m12: CGFloat
§m13: CGFloat
§m14: CGFloat
§m21: CGFloat
§m22: CGFloat
§m23: CGFloat
§m24: CGFloat
§m31: CGFloat
§m32: CGFloat
§m33: CGFloat
§m34: CGFloat
§m41: CGFloat
§m42: CGFloat
§m43: CGFloat
§m44: CGFloat
Implementations§
Source§impl CATransform3D
impl CATransform3D
pub fn is_identity(self: CATransform3D) -> bool
pub fn equal_to_transform(self: CATransform3D, b: CATransform3D) -> bool
pub fn new_translation(tx: CGFloat, ty: CGFloat, tz: CGFloat) -> CATransform3D
pub fn new_scale(sx: CGFloat, sy: CGFloat, sz: CGFloat) -> CATransform3D
pub fn new_rotation( angle: CGFloat, x: CGFloat, y: CGFloat, z: CGFloat, ) -> CATransform3D
pub fn translate( self: CATransform3D, tx: CGFloat, ty: CGFloat, tz: CGFloat, ) -> CATransform3D
pub fn scale( self: CATransform3D, sx: CGFloat, sy: CGFloat, sz: CGFloat, ) -> CATransform3D
pub fn rotate( self: CATransform3D, angle: CGFloat, x: CGFloat, y: CGFloat, z: CGFloat, ) -> CATransform3D
pub fn concat(self: CATransform3D, b: CATransform3D) -> CATransform3D
pub fn invert(self: CATransform3D) -> CATransform3D
pub fn new_affine_transform(m: CGAffineTransform) -> CATransform3D
pub fn is_affine(self: CATransform3D) -> bool
pub fn affine_transform(self: CATransform3D) -> CGAffineTransform
Trait Implementations§
Source§impl Clone for CATransform3D
impl Clone for CATransform3D
Source§fn clone(&self) -> CATransform3D
fn clone(&self) -> CATransform3D
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CATransform3D
impl Debug for CATransform3D
Source§impl Encode for CATransform3D
impl Encode for CATransform3D
Source§impl PartialEq for CATransform3D
impl PartialEq for CATransform3D
Source§impl RefEncode for CATransform3D
impl RefEncode for CATransform3D
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CATransform3D
impl StructuralPartialEq for CATransform3D
Auto Trait Implementations§
impl Freeze for CATransform3D
impl RefUnwindSafe for CATransform3D
impl Send for CATransform3D
impl Sync for CATransform3D
impl Unpin for CATransform3D
impl UnwindSafe for CATransform3D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.