[][src]Trait prisma::color_space::WithColorSpace

pub trait WithColorSpace<T, C, E, S> where
    C: EncodableColor,
    S: ColorSpace<T>,
    E: ColorEncoding,
    T: Float
{ fn with_color_space(self, space: S) -> SpacedColor<T, C, E, S>; }

A color which can be assigned a color space

Required methods

fn with_color_space(self, space: S) -> SpacedColor<T, C, E, S>

Create a new spaced color from self and a color space

Loading content...

Implementors

impl<T, C, E, S> WithColorSpace<T, C, E, S> for EncodedColor<C, E> where
    C: EncodableColor,
    S: ColorSpace<T>,
    E: ColorEncoding,
    T: Float
[src]

Loading content...