Trait colstodian::traits::ColorSpace[][src]

pub trait ColorSpace: Default + Display {
    type LinearSpace: LinearColorSpace + ConvertFromRaw<Self>;
    type ComponentStruct: Clone + Copy + Display;

    const SPACE: DynamicColorSpace;
}
Expand description

A type that implements ColorSpace represents a specific color space. See the documentation of DynamicColorSpace for more information about what a color space is.

Associated Types

The closest linear color space to this space.

The ‘bag of components’ that this color space uses.

Associated Constants

The DynamicColorSpace that this type represents.

Implementors