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
type LinearSpace: LinearColorSpace + ConvertFromRaw<Self>
type LinearSpace: LinearColorSpace + ConvertFromRaw<Self>
The closest linear color space to this space.
type ComponentStruct: Clone + Copy + Display
type ComponentStruct: Clone + Copy + Display
The ‘bag of components’ that this color space uses.
Associated Constants
const SPACE: DynamicColorSpace
const SPACE: DynamicColorSpace
The DynamicColorSpace
that this type represents.