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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.