[][src]Struct core_graphics::color::CGColor

pub struct CGColor(_);

Implementations

impl CGColor[src]

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

Trait Implementations

impl Clone for CGColor[src]

impl ConcreteCFType for CGColor[src]

impl Drop for CGColor[src]

impl Eq for CGColor[src]

impl PartialEq<CGColor> for CGColor[src]

impl TCFType for CGColor[src]

type Ref = CGColorRef

The reference type wrapped inside this type.

impl<'a> ToVoid<CGColor> for &'a CGColor[src]

impl ToVoid<CGColor> for CGColor[src]

impl ToVoid<CGColor> for CGColorRef[src]

Auto Trait Implementations

impl RefUnwindSafe for CGColor

impl !Send for CGColor

impl !Sync for CGColor

impl Unpin for CGColor

impl UnwindSafe for CGColor

Blanket Implementations

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

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.