[−][src]Type Definition prisma::Rgba
type Rgba<T> = Alpha<T, Rgb<T>>;
An Rgb
value with an alpha channel
Trait Implementations
impl<T> TranscodableColor for Rgba<T> where
T: PosNormalChannelScalar + ChannelFormatCast<f64>,
f64: ChannelFormatCast<T>,
[src]
T: PosNormalChannelScalar + ChannelFormatCast<f64>,
f64: ChannelFormatCast<T>,
type IntermediateColor = Rgba<f64>
The color type used internally to do conversions. This will always have floating-point channels
fn encode_color<Encoder>(self, enc: &Encoder) -> Self where
Encoder: ChannelEncoder,
[src]
Encoder: ChannelEncoder,
fn decode_color<Decoder>(self, dec: &Decoder) -> Self where
Decoder: ChannelDecoder,
[src]
Decoder: ChannelDecoder,