Enum image::ImageOutputFormat [−][src]
pub enum ImageOutputFormat { Png, Jpeg(u8), Pnm(PNMSubtype), Gif, Ico, Bmp, Farbfeld, Tga, Unsupported(String), // some variants omitted }
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
impl Clone for ImageOutputFormat
[src]
impl Clone for ImageOutputFormat
[src]fn clone(&self) -> ImageOutputFormat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ImageFormat> for ImageOutputFormat
[src]
impl From<ImageFormat> for ImageOutputFormat
[src]fn from(fmt: ImageFormat) -> Self
[src]
impl PartialEq<ImageOutputFormat> for ImageOutputFormat
[src]
impl PartialEq<ImageOutputFormat> for ImageOutputFormat
[src]