Struct jpeg_decoder::ImageInfo
[−]
[src]
pub struct ImageInfo {
pub width: u16,
pub height: u16,
pub pixel_format: PixelFormat,
}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
impl Clone for ImageInfo[src]
fn clone(&self) -> ImageInfo[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for ImageInfo[src]
impl Debug for ImageInfo[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more