Struct jpeg_decoder::ImageInfo [−][src]
pub struct ImageInfo {
pub width: u16,
pub height: u16,
pub pixel_format: PixelFormat,
}
Expand description
Represents metadata of an image.
Fields
width: u16
The width of the image, in pixels.
height: u16
The height of the image, in pixels.
pixel_format: PixelFormat
The pixel format of the image.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageInfo
impl UnwindSafe for ImageInfo
Blanket Implementations
Mutably borrows from an owned value. Read more