Struct animate::RgbColor[][src]

pub struct RgbColor {
    pub red: u8,
    pub green: u8,
    pub blue: u8,
}

Fields

red: u8green: u8blue: u8

Implementations

impl RgbColor[src]

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

Trait Implementations

impl Clone for RgbColor[src]

impl ColorSpace for RgbColor[src]

impl ColorTransition for RgbColor[src]

impl Copy for RgbColor[src]

impl Debug for RgbColor[src]

impl Display for RgbColor[src]

impl Eq for RgbColor[src]

impl From<CmyColor> for RgbColor[src]

impl From<CmykColor> for RgbColor[src]

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

impl From<HslColor> for RgbColor[src]

impl From<HsvColor> for RgbColor[src]

impl From<RgbColor> for HsvColor[src]

impl From<RgbColor> for HslColor[src]

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

impl From<RgbColor> for CmyColor[src]

impl From<RgbColor> for RgbaColor[src]

impl From<RgbColor> for CmykColor[src]

impl From<RgbaColor> for RgbColor[src]

impl GetAlpha<RgbColor> for RgbaColor[src]

impl HasAlpha<RgbColor> for RgbaColor[src]

impl Hash for RgbColor[src]

impl NonRadialSpace for RgbColor[src]

impl NonSaturationSpace for RgbColor[src]

impl PartialEq<RgbColor> for RgbColor[src]

impl SetAlpha<RgbColor> for RgbaColor[src]

impl StructuralEq for RgbColor[src]

impl StructuralPartialEq for RgbColor[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>,