Trait primitives::colorspace::alpha::HasAlpha[][src]

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

Required methods

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

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

Loading content...

Provided methods

fn split(&self) -> (C, f64) where
    Self: Sized
[src]

Loading content...

Implementors

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

impl HasAlpha<RgbColor> for RgbaColor[src]

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

Loading content...