cosmic::cosmic_theme::palette::rgb

Trait RgbStandard

source
pub trait RgbStandard {
    type Space: RgbSpace;
    type TransferFn;
}
Expand description

An RGB space and a transfer function.

Required Associated Types§

source

type Space: RgbSpace

The RGB color space.

source

type TransferFn

The transfer function for the color components.

Implementations on Foreign Types§

source§

impl<Pr, Wp, Tf> RgbStandard for (Pr, Wp, Tf)

source§

impl<Sp, Tf> RgbStandard for (Sp, Tf)
where Sp: RgbSpace,

Implementors§