Struct core_graphics::geometry::CGRect [−][src]
Fields
origin: CGPoint
size: CGSize
Methods
impl CGRect[src]
impl CGRectpub fn new(origin: &CGPoint, size: &CGSize) -> CGRect[src]
pub fn new(origin: &CGPoint, size: &CGSize) -> CGRectpub fn inset(&self, size: &CGSize) -> CGRect[src]
pub fn inset(&self, size: &CGSize) -> CGRectpub fn from_dict_representation(dict: &CFDictionary) -> Option<CGRect>[src]
pub fn from_dict_representation(dict: &CFDictionary) -> Option<CGRect>pub fn is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> boolpub fn is_intersects(&self, other: &CGRect) -> bool[src]
pub fn is_intersects(&self, other: &CGRect) -> boolpub fn apply_transform(&self, t: &CGAffineTransform) -> CGRect[src]
pub fn apply_transform(&self, t: &CGAffineTransform) -> CGRectTrait Implementations
impl Clone for CGRect[src]
impl Clone for CGRectfn clone(&self) -> CGRect[src]
fn clone(&self) -> CGRectReturns 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 CGRect[src]
impl Copy for CGRectimpl Debug for CGRect[src]
impl Debug for CGRectfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for CGRect[src]
impl Default for CGRect