Struct ux::RgbaColor [−][src]
Fields
red: u8
green: u8
blue: u8
alpha: u8
Implementations
Trait Implementations
impl ColorSpace for RgbaColor
[src]
impl ColorSpace for RgbaColor
[src]impl ColorTransition for RgbaColor
[src]
impl ColorTransition for RgbaColor
[src]impl GetAlpha<RgbColor> for RgbaColor
[src]
impl GetAlpha<RgbColor> for RgbaColor
[src]pub fn get_alpha(&self) -> f64
[src]
pub fn get_opacity(&self) -> f64
[src]
pub fn get_transparency(&self) -> f64
[src]
impl NonRadialSpace for RgbaColor
[src]
impl NonRadialSpace for RgbaColor
[src]impl NonSaturationSpace for RgbaColor
[src]
impl NonSaturationSpace for RgbaColor
[src]impl StructuralEq for RgbaColor
[src]
impl StructuralEq for RgbaColor
[src]impl StructuralPartialEq for RgbaColor
[src]
impl StructuralPartialEq for RgbaColor
[src]Auto Trait Implementations
impl RefUnwindSafe for RgbaColor
impl RefUnwindSafe for RgbaColor
impl UnwindSafe for RgbaColor
impl UnwindSafe for RgbaColor
Blanket Implementations
impl<C> AdjustHue for C where
C: Clone + GetHue + SetHue,
[src]
impl<C> AdjustHue for C where
C: Clone + GetHue + SetHue,
[src]pub fn adjust_hue(self, delta: f64) -> C
[src]
pub fn complement(self) -> Self
[src]
impl<Fr, To> FromColor<Fr> for To where
Fr: Into<Color<f64>>,
To: From<Color<f64>>,
[src]
impl<Fr, To> FromColor<Fr> for To where
Fr: Into<Color<f64>>,
To: From<Color<f64>>,
[src]pub fn from_color(from_color: Fr) -> To
[src]
impl<C> GetRadialSaturation for C where
C: Clone + Copy + FromColor<HslColor> + IntoColor<HslColor> + FromColor<HsvColor> + IntoColor<HsvColor>,
[src]
impl<C> GetRadialSaturation for C where
C: Clone + Copy + FromColor<HslColor> + IntoColor<HslColor> + FromColor<HsvColor> + IntoColor<HsvColor>,
[src]pub fn get_hsl_saturation(self) -> f64
[src]
pub fn get_hsv_saturation(self) -> f64
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<C> Invert for C where
C: ColorTransition,
[src]
impl<C> Invert for C where
C: ColorTransition,
[src]impl<C> Saturate for C where
C: Clone + GetRadialSaturation + SetRadialSaturation,
[src]
impl<C> Saturate for C where
C: Clone + GetRadialSaturation + SetRadialSaturation,
[src]impl<C> SetRadialSaturation for C where
C: Clone + Copy + FromColor<HslColor> + IntoColor<HslColor> + FromColor<HsvColor> + IntoColor<HsvColor>,
[src]
impl<C> SetRadialSaturation for C where
C: Clone + Copy + FromColor<HslColor> + IntoColor<HslColor> + FromColor<HsvColor> + IntoColor<HsvColor>,
[src]pub fn set_hsl_saturation(&mut self, saturation: f64) -> C
[src]
pub fn set_hsv_saturation(&mut self, saturation: f64) -> C
[src]
impl<C> ToHexString for C where
C: Into<RgbColor> + Clone,
[src]
impl<C> ToHexString for C where
C: Into<RgbColor> + Clone,
[src]pub fn to_hex_string(&self) -> String
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,