Enum cognitive_qualia::image::PixelFormat [] [src]

pub enum PixelFormat {
    XRGB8888,
    ARGB8888,
    XBGR8888,
    ABGR8888,
}

Format of a pixel.

Variants

Methods

impl PixelFormat
[src]

Returns size in bytes of pixel encoded in given format.

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.