Struct core_graphics::geometry::CGRect
[−]
[src]
#[repr(C)]pub struct CGRect { pub origin: CGPoint, pub size: CGSize, }
Fields
origin: CGPoint
size: CGSize
Methods
impl CGRect
[src]
fn new(origin: &CGPoint, size: &CGSize) -> CGRect
[src]
fn inset(&self, size: &CGSize) -> CGRect
[src]
fn from_dict_representation(dict: &CFDictionary) -> Option<CGRect>
[src]
fn is_empty(&self) -> bool
[src]
fn is_intersects(&self, other: &CGRect) -> bool
[src]
fn apply_transform(&self, t: &CGAffineTransform) -> CGRect
[src]
Trait Implementations
impl Clone for CGRect
[src]
fn clone(&self) -> CGRect
[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