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]
fn new(x: CGFloat, y: CGFloat) -> CGPoint
[src]
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