Trait palette::encoding::FromLinear
source · pub trait FromLinear<L, E> {
// Required method
fn from_linear(linear: L) -> E;
}
Expand description
A transfer function from linear space.
Required Methods§
sourcefn from_linear(linear: L) -> E
fn from_linear(linear: L) -> E
Convert the color component linear
from linear space.
Object Safety§
This trait is not object safe.