Enum dgl::PixelFormat [] [src]

pub enum PixelFormat {
    Index(u8),
    Rgb(RgbFormat),
}

Pixel format description.

Variants

Methods

impl PixelFormat
[src]

Trait Implementations

impl Clone for PixelFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PixelFormat
[src]

impl Debug for PixelFormat
[src]

Formats the value using the given formatter.

impl Eq for PixelFormat
[src]

impl PartialEq for PixelFormat
[src]

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

This method tests for !=.

impl Default for PixelFormat
[src]

Returns the "default value" for a type. Read more