Struct objc2_ui_kit::CGAffineTransform
source · #[repr(C)]pub struct CGAffineTransform {
pub a: f64,
pub b: f64,
pub c: f64,
pub d: f64,
pub tx: f64,
pub ty: f64,
}
Expand description
Affine transform.
This technically belongs to the CoreGraphics
framework, but we define it
here for convenience.
Fields§
§a: f64
§b: f64
§c: f64
§d: f64
§tx: f64
§ty: f64
Trait Implementations§
source§impl Clone for CGAffineTransform
impl Clone for CGAffineTransform
source§fn clone(&self) -> CGAffineTransform
fn clone(&self) -> CGAffineTransform
Returns a copy 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 CGAffineTransform
impl Debug for CGAffineTransform
source§impl Default for CGAffineTransform
impl Default for CGAffineTransform
source§fn default() -> CGAffineTransform
fn default() -> CGAffineTransform
Returns the “default value” for a type. Read more
source§impl Encode for CGAffineTransform
impl Encode for CGAffineTransform
source§impl PartialEq for CGAffineTransform
impl PartialEq for CGAffineTransform
source§fn eq(&self, other: &CGAffineTransform) -> bool
fn eq(&self, other: &CGAffineTransform) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for CGAffineTransform
impl RefEncode for CGAffineTransform
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 CGAffineTransform
impl StructuralPartialEq for CGAffineTransform
Auto Trait Implementations§
impl Freeze for CGAffineTransform
impl RefUnwindSafe for CGAffineTransform
impl Send for CGAffineTransform
impl Sync for CGAffineTransform
impl Unpin for CGAffineTransform
impl UnwindSafe for CGAffineTransform
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> 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.