Struct core_graphics::gradient::CGGradient [−][src]
pub struct CGGradient(_);
Implementations
pub fn create_with_color_components(
color_space: &CGColorSpace,
components: &[CGFloat],
locations: &[CGFloat],
count: usize
) -> CGGradient
pub fn create_with_colors(
color_space: &CGColorSpace,
colors: &CFArray<CGColor>,
locations: &[CGFloat]
) -> CGGradient
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = CGGradientRef
type Target = CGGradientRef
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for CGGradient
impl !Send for CGGradient
impl !Sync for CGGradient
impl Unpin for CGGradient
impl UnwindSafe for CGGradient
Blanket Implementations
Mutably borrows from an owned value. Read more