pub trait SrgbColorSpace {
    // Required methods
    fn linear_to_nonlinear_srgb(self) -> Self;
    fn nonlinear_to_linear_srgb(self) -> Self;
}

Required Methods§

fn linear_to_nonlinear_srgb(self) -> Self

fn nonlinear_to_linear_srgb(self) -> Self

Implementations on Foreign Types§

§

impl SrgbColorSpace for f32

§

impl SrgbColorSpace for u8

Implementors§