Struct components::colorspace::AlphaChannel[]

pub struct AlphaChannel<C> where
    C: ColorSpace
{ /* fields omitted */ }

Implementations

impl<C> Alpha<C> where
    C: ColorSpace

pub fn new(color: C, alpha: f64) -> Alpha<C>

Trait Implementations

impl<C> AdjustHue for Alpha<C> where
    C: AdjustHue + ColorSpace

impl<C> Clone for Alpha<C> where
    C: Clone + ColorSpace

impl<C> Copy for Alpha<C> where
    C: Copy + ColorSpace

impl<C> Debug for Alpha<C> where
    C: Debug + ColorSpace

impl From<Alpha<RgbColor>> for Color<f64>

impl From<Alpha<RgbColor>> for RgbaColor

impl<C> GetAlpha<C> for Alpha<C> where
    C: ColorSpace

impl<C> HasAlpha<C> for Alpha<C> where
    C: ColorSpace

impl<C> Invert for Alpha<C> where
    C: Invert + ColorSpace

impl<C> Lighten for Alpha<C> where
    C: Lighten + ColorSpace

impl<C> Round for Alpha<C> where
    C: Round + ColorSpace

impl<C> Saturate for Alpha<C> where
    C: Saturate + ColorSpace

impl<C> SetAlpha<C> for Alpha<C> where
    C: ColorSpace

Auto Trait Implementations

impl<C> RefUnwindSafe for Alpha<C> where
    C: RefUnwindSafe

impl<C> Send for Alpha<C> where
    C: Send

impl<C> Sync for Alpha<C> where
    C: Sync

impl<C> Unpin for Alpha<C> where
    C: Unpin

impl<C> UnwindSafe for Alpha<C> where
    C: UnwindSafe

Blanket Implementations

impl<C> Adjust for C where
    C: Lighten + AdjustHue + Saturate + Grayscale

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<C> Grayscale for C where
    C: Saturate

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

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,