Struct animate::RgbaColor[][src]

pub struct RgbaColor {
    pub red: u8,
    pub green: u8,
    pub blue: u8,
    pub alpha: u8,
}

Fields

red: u8green: u8blue: u8alpha: u8

Implementations

impl RgbaColor[src]

pub fn new(red: u8, green: u8, blue: u8, alpha: u8) -> RgbaColor[src]

Trait Implementations

impl Clone for RgbaColor[src]

impl ColorSpace for RgbaColor[src]

impl ColorTransition for RgbaColor[src]

impl Copy for RgbaColor[src]

impl Debug for RgbaColor[src]

impl Display for RgbaColor[src]

impl Eq for RgbaColor[src]

impl From<Alpha<RgbColor>> for RgbaColor[src]

impl From<CmyColor> for RgbaColor[src]

impl From<CmykColor> for RgbaColor[src]

impl From<Color<f64>> for RgbaColor[src]

impl From<HslColor> for RgbaColor[src]

impl From<HsvColor> for RgbaColor[src]

impl From<RgbColor> for RgbaColor[src]

impl From<RgbaColor> for HslColor[src]

impl From<RgbaColor> for CmykColor[src]

impl From<RgbaColor> for RgbColor[src]

impl From<RgbaColor> for Color<f64>[src]

impl From<RgbaColor> for HsvColor[src]

impl From<RgbaColor> for CmyColor[src]

impl GetAlpha<RgbColor> for RgbaColor[src]

impl HasAlpha<RgbColor> for RgbaColor[src]

impl Hash for RgbaColor[src]

impl NonRadialSpace for RgbaColor[src]

impl NonSaturationSpace for RgbaColor[src]

impl PartialEq<RgbaColor> for RgbaColor[src]

impl SetAlpha<RgbColor> for RgbaColor[src]

impl StructuralEq for RgbaColor[src]

impl StructuralPartialEq for RgbaColor[src]

Auto Trait Implementations

Blanket Implementations

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

impl<C> AdjustHue for C where
    C: Clone + GetHue + SetHue
[src]

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<Fr, To> FromColor<Fr> for To where
    Fr: Into<Color<f64>>,
    To: From<Color<f64>>, 
[src]

impl<C> GetHue for C where
    C: NonRadialSpace
[src]

impl<C> GetRadialSaturation for C where
    C: Clone + Copy + FromColor<HslColor> + IntoColor<HslColor> + FromColor<HsvColor> + IntoColor<HsvColor>, 
[src]

impl<C> Grayscale for C where
    C: Saturate
[src]

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

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[src]

impl<C> Invert for C where
    C: ColorTransition
[src]

impl<C> Lighten for C where
    C: FromColor<HslColor> + IntoColor<HslColor>, 
[src]

impl<C> Saturate for C where
    C: Clone + GetRadialSaturation + SetRadialSaturation
[src]

impl<C> SetHue for C where
    C: NonRadialSpace
[src]

impl<C> SetRadialSaturation for C where
    C: Clone + Copy + FromColor<HslColor> + IntoColor<HslColor> + FromColor<HsvColor> + IntoColor<HsvColor>, 
[src]

impl<C> ToHexString for C where
    C: Into<RgbColor> + Clone
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>,