Enum image::ImageOutputFormat [−][src]
pub enum ImageOutputFormat { Png, Jpeg(u8), Pnm(PNMSubtype), Gif, Ico, Bmp, Farbfeld, Tga, Unsupported(String), // some variants omitted }
Expand description
An enumeration of supported image formats for encoding.
Variants
An Image in PNG Format
Jpeg(u8)
An Image in JPEG Format with specified quality
Pnm(PNMSubtype)
An Image in one of the PNM Formats
An Image in GIF Format
An Image in ICO Format
An Image in BMP Format
An Image in farbfeld Format
An Image in TGA Format
Unsupported(String)
A value for signalling an error: An unsupported format was requested
Trait Implementations
Performs the conversion.
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 RefUnwindSafe for ImageOutputFormat
impl Send for ImageOutputFormat
impl Sync for ImageOutputFormat
impl Unpin for ImageOutputFormat
impl UnwindSafe for ImageOutputFormat
Blanket Implementations
Mutably borrows from an owned value. Read more