[]Struct core_graphics::color::CGColor

pub struct CGColor(_);

Methods

impl CGColor[src]

pub fn rgb(red: CGFloat, green: CGFloat, blue: CGFloat, alpha: CGFloat) -> Self[src]

Trait Implementations

impl Drop for CGColor

impl Clone for CGColor

impl Eq for CGColor

impl PartialEq<CGColor> for CGColor

impl ConcreteCFType for CGColor

impl TCFType for CGColor

type Ref = CGColorRef

The reference type wrapped inside this type.

impl<'a> ToVoid<CGColor> for &'a CGColor

impl ToVoid<CGColor> for CGColor

impl ToVoid<CGColor> for CGColorRef

Auto Trait Implementations

impl !Send for CGColor

impl !Sync for CGColor

impl Unpin for CGColor

impl UnwindSafe for CGColor

impl RefUnwindSafe for CGColor

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> FromVoid for T where
    T: TCFType
[src]

impl<T> FromMutVoid for T where
    T: TCFType
[src]