[][src]Trait rust_color::Color

pub trait Color: Copy {
type Type;
    fn complement(&self) -> Self::Type;
fn get_rgba(&self) -> RgbaColorType;
fn get_hsla(&self) -> HslaColorType;
fn set_opacity(&mut self, a: f64) -> Self::Type; }

Associated Types

type Type

Loading content...

Required methods

fn complement(&self) -> Self::Type

fn get_rgba(&self) -> RgbaColorType

fn get_hsla(&self) -> HslaColorType

fn set_opacity(&mut self, a: f64) -> Self::Type

Loading content...

Implementors

impl Color for RgbaColorType[src]

type Type = RgbaColorType

Loading content...