Struct core_graphics::path::CGPath [−]
pub struct CGPath(_);
Methods
impl CGPath[src]
impl CGPathpub fn from_rect(rect: CGRect, transform: Option<&CGAffineTransform>) -> CGPath[src]
pub fn from_rect(rect: CGRect, transform: Option<&CGAffineTransform>) -> CGPathpub fn type_id() -> CFTypeID[src]
pub fn type_id() -> CFTypeIDpub fn apply<'a, F>(&'a self, closure: &'a F) where
F: FnMut(CGPathElementRef<'a>), [src]
pub fn apply<'a, F>(&'a self, closure: &'a F) where
F: FnMut(CGPathElementRef<'a>), Trait Implementations
impl Drop for CGPath
impl Drop for CGPathimpl Clone for CGPath
impl Clone for CGPathfn clone(&self) -> CGPath
fn clone(&self) -> CGPathReturns 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 Deref for CGPath
impl Deref for CGPathtype Target = CGPathRef
The resulting type after dereferencing.
fn deref(&self) -> &CGPathRef
fn deref(&self) -> &CGPathRefDereferences the value.
impl DerefMut for CGPath
impl DerefMut for CGPathimpl Borrow<CGPathRef> for CGPath
impl Borrow<CGPathRef> for CGPathimpl AsRef<CGPathRef> for CGPath
impl AsRef<CGPathRef> for CGPath