Enum imagefmt::ColType [] [src]

pub enum ColType {
    Auto,
    Gray,
    GrayAlpha,
    Color,
    ColorAlpha,
}

Color type – these are categories of color formats.

Auto means automatic/infer/unknown.

Variants

AutoGrayGrayAlphaColorColorAlpha

Methods

impl ColType
[src]

fn has_alpha(self) -> Option<bool>

Trait Implementations

impl PartialEq for ColType
[src]

fn eq(&self, __arg_0: &ColType) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for ColType
[src]

impl Debug for ColType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for ColType
[src]

impl Clone for ColType
[src]

fn clone(&self) -> ColType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more