[−][src]Trait prisma::encoding::ChannelDecoder
An object that can decode a color from some encoding to a linear encoding
This is a low level trait that is unlikely to be used directly
Required methods
fn decode_channel<T>(&self, val: T) -> T where
T: Float,
T: Float,
Decode a channel into a linear-encoding
Implementors
impl ChannelDecoder for LinearEncoding
[src]
fn decode_channel<T>(&self, val: T) -> T where
T: Float,
[src]
T: Float,
impl ChannelDecoder for SrgbEncoding
[src]
fn decode_channel<T>(&self, val: T) -> T where
T: Float,
[src]
T: Float,
impl<'a, T, E> ChannelDecoder for &'a EncodedColorSpace<T, E> where
T: Float + FreeChannelScalar + PosNormalChannelScalar,
E: ColorEncoding,
[src]
T: Float + FreeChannelScalar + PosNormalChannelScalar,
E: ColorEncoding,
fn decode_channel<U>(&self, val: U) -> U where
U: Float,
[src]
U: Float,
impl<'a, T, E> ChannelDecoder for &'a mut EncodedColorSpace<T, E> where
T: Float + FreeChannelScalar + PosNormalChannelScalar,
E: ColorEncoding,
[src]
T: Float + FreeChannelScalar + PosNormalChannelScalar,
E: ColorEncoding,
fn decode_channel<U>(&self, val: U) -> U where
U: Float,
[src]
U: Float,
impl<T> ChannelDecoder for GammaEncoding<T> where
T: Float,
[src]
T: Float,
fn decode_channel<U>(&self, val: U) -> U where
U: Float,
[src]
U: Float,
impl<T, E> ChannelDecoder for EncodedColorSpace<T, E> where
T: Float + FreeChannelScalar + PosNormalChannelScalar,
E: ColorEncoding,
[src]
T: Float + FreeChannelScalar + PosNormalChannelScalar,
E: ColorEncoding,
fn decode_channel<U>(&self, val: U) -> U where
U: Float,
[src]
U: Float,