Struct core_graphics::geometry::CGRect
source · Fields
origin: CGPoint
size: CGSize
Implementations
sourceimpl CGRect
impl CGRect
pub fn new(origin: &CGPoint, size: &CGSize) -> CGRect
pub fn inset(&self, size: &CGSize) -> CGRect
pub fn from_dict_representation(dict: &CFDictionary) -> Option<CGRect>
pub fn is_empty(&self) -> bool
pub fn is_intersects(&self, other: &CGRect) -> bool
pub fn apply_transform(&self, t: &CGAffineTransform) -> CGRect
Trait Implementations
impl Copy for CGRect
Auto Trait Implementations
impl RefUnwindSafe for CGRect
impl Send for CGRect
impl Sync for CGRect
impl Unpin for CGRect
impl UnwindSafe for CGRect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more