Enum image::ColorType[][src]

pub enum ColorType {
    Gray(u8),
    RGB(u8),
    Palette(u8),
    GrayA(u8),
    RGBA(u8),
}

An enumeration over supported color types and their bit depths

Variants

Pixel is grayscale

Pixel contains R, G and B channels

Pixel is an index into a color palette

Pixel is grayscale with an alpha channel

Pixel is RGB with an alpha channel

Trait Implementations

impl Copy for ColorType
[src]

impl PartialEq for ColorType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ColorType
[src]

impl Debug for ColorType
[src]

Formats the value using the given formatter. Read more

impl Clone for ColorType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for ColorType

impl Sync for ColorType