[−][src]Trait palette::encoding::TransferFn
A transfer function to and from linear space.
Required methods
fn from_linear<T: Float>(x: T) -> T
Convert the color component x from linear space.
fn into_linear<T: Float>(x: T) -> T
Convert the color component x into linear space.