Struct core_graphics::color_space::CGColorSpaceRef
source · pub struct CGColorSpaceRef(/* private fields */);
Expand description
A borrowed reference to a CGColorSpace
.
Trait Implementations§
source§impl ForeignTypeRef for CGColorSpaceRef
impl ForeignTypeRef for CGColorSpaceRef
§type CType = CGColorSpace
type CType = CGColorSpace
The raw C type.
source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
source§unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type. Read more
Auto Trait Implementations§
impl Freeze for CGColorSpaceRef
impl !RefUnwindSafe for CGColorSpaceRef
impl !Send for CGColorSpaceRef
impl !Sync for CGColorSpaceRef
impl Unpin for CGColorSpaceRef
impl UnwindSafe for CGColorSpaceRef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more