Trait ux::colorspace::HasAlpha[][src]

pub trait HasAlpha<C>: GetAlpha<C> + SetAlpha<C> {
    pub fn get_color(&self) -> C;
pub fn set_color(&mut self, color: C) -> &Self; pub fn split(&self) -> (C, f64) { ... } }

Required methods

pub fn get_color(&self) -> C[src]

pub fn set_color(&mut self, color: C) -> &Self[src]

Loading content...

Provided methods

pub fn split(&self) -> (C, f64)[src]

Loading content...

Implementors

impl HasAlpha<Color<f64>> for Color<f64>[src]

impl HasAlpha<RgbColor> for RgbaColor[src]

impl<C> HasAlpha<C> for Alpha<C> where
    C: ColorSpace
[src]

Loading content...