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