Struct core_graphics::gradient::CGGradientRef
source · pub struct CGGradientRef(/* private fields */);
Expand description
A borrowed reference to a CGGradient
.
Trait Implementations§
source§impl ForeignTypeRef for CGGradientRef
impl ForeignTypeRef for CGGradientRef
§type CType = CGGradient
type CType = CGGradient
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
Auto Trait Implementations§
impl Freeze for CGGradientRef
impl !RefUnwindSafe for CGGradientRef
impl !Send for CGGradientRef
impl !Sync for CGGradientRef
impl Unpin for CGGradientRef
impl UnwindSafe for CGGradientRef
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