Struct jpeg_decoder::ImageInfo[][src]

pub struct ImageInfo {
    pub width: u16,
    pub height: u16,
    pub pixel_format: PixelFormat,
}

Represents metadata of an image.

Fields

The width of the image, in pixels.

The height of the image, in pixels.

The pixel format of the image.

Trait Implementations

impl Clone for ImageInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ImageInfo
[src]

impl Debug for ImageInfo
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ImageInfo
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for ImageInfo

impl Sync for ImageInfo