Enum imagefmt::ColFmt [] [src]

pub enum ColFmt {
    Auto,
    Y,
    YA,
    AY,
    RGB,
    RGBA,
    BGR,
    BGRA,
    ARGB,
    ABGR,
}

Color format – determines color type and channel order.

Auto means automatic/infer

Variants

Methods

impl ColFmt
[src]

Returns the color type of the color format.

Returns whether self has an alpha channel.

Trait Implementations

impl Clone for ColFmt
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ColFmt
[src]

impl Debug for ColFmt
[src]

Formats the value using the given formatter.

impl Eq for ColFmt
[src]

impl PartialEq for ColFmt
[src]

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

This method tests for !=.