Trait gooey::core::palette::chromatic_adaptation::AdaptInto[][src]

pub trait AdaptInto<D, Swp, Dwp, T> where
    T: FloatComponent,
    Swp: WhitePoint,
    Dwp: WhitePoint
{ fn adapt_into_using<M>(self, method: M) -> D
    where
        M: TransformMatrix<Swp, Dwp, T>
; fn adapt_into(self) -> D { ... } }
Expand description

Trait to convert color with one reference white point into another

Converts a color with the source white point (Swp) into the destination white point (Dwp). Uses the bradford method for conversion by default.

Required methods

Convert the source color to the destination color using the specified method

Provided methods

Convert the source color to the destination color using the bradford method by default

Implementors