Struct core_graphics::geometry::CGPoint
[−]
[src]
#[repr(C)]pub struct CGPoint { pub x: CGFloat, pub y: CGFloat, }
Fields
x: CGFloat
y: CGFloat
Methods
impl CGPoint
[src]
pub fn new(x: CGFloat, y: CGFloat) -> CGPoint
[src]
pub fn apply_transform(&self, t: &CGAffineTransform) -> CGPoint
[src]
Trait Implementations
impl Clone for CGPoint
[src]
fn clone(&self) -> CGPoint
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CGPoint
[src]
impl Debug for CGPoint
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more