Struct image_utils::Info [] [src]

pub struct Info {
    pub format: ImageFormat,
    pub color: ColorType,
    pub width: u32,
    pub height: u32,
    pub ratio: f32,
    pub frames: u32,
}

Common image information

Fields

Image format

Image color type

Width in pixels

Height in pixels

Aspect ratio

Number of frames, can be greater than 1 for animated GIFs

Trait Implementations

impl Debug for Info
[src]

Formats the value using the given formatter.

impl PartialEq for Info
[src]

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

This method tests for !=.