Struct core_graphics::color_space::CGColorSpaceRef
source · pub struct CGColorSpaceRef(_);
Trait Implementations
sourceimpl AsRef<CGColorSpaceRef> for CGColorSpace
impl AsRef<CGColorSpaceRef> for CGColorSpace
sourcefn as_ref(&self) -> &CGColorSpaceRef
fn as_ref(&self) -> &CGColorSpaceRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<CGColorSpaceRef> for CGColorSpace
impl Borrow<CGColorSpaceRef> for CGColorSpace
sourcefn borrow(&self) -> &CGColorSpaceRef
fn borrow(&self) -> &CGColorSpaceRef
Immutably borrows from an owned value. Read more
sourceimpl ToOwned for CGColorSpaceRef
impl ToOwned for CGColorSpaceRef
type Owned = CGColorSpace
type Owned = CGColorSpace
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> CGColorSpace
fn to_owned(&self) -> CGColorSpace
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CGColorSpaceRef
impl Send for CGColorSpaceRef
impl !Sync for CGColorSpaceRef
impl Unpin for CGColorSpaceRef
impl UnwindSafe for CGColorSpaceRef
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