Trait picto::pixel::Pixel
[−]
[src]
pub trait Pixel<C: Channel = u8>: Copy + 'static { fn channels() -> usize; }
A Pixel
represents a color containing a certain amount of channels
convertible from the Channel
type.
Required Methods
Implementors
impl<C: Channel, T: Float + 'static> Pixel<C> for Luma<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Lumaa<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Rgb<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Srgb<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Hsl<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Hsv<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Hwb<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Lab<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Lch<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Xyz<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Yxy<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Rgba<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Hsla<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Hsva<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Hwba<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Laba<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Lcha<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Xyza<T>
impl<C: Channel, T: Float + 'static> Pixel<C> for Yxya<T>