Enum image::ImageFormat [] [src]

pub enum ImageFormat {
    PNG,
    JPEG,
    GIF,
    WEBP,
    PPM,
    TIFF,
    TGA,
    BMP,
    ICO,
}

An enumeration of supported image formats. Not all formats support both encoding and decoding.

Variants

PNG

An Image in PNG Format

JPEG

An Image in JPEG Format

GIF

An Image in GIF Format

WEBP

An Image in WEBP Format

PPM

An Image in PPM Format

TIFF

An Image in TIFF Format

TGA

An Image in TGA Format

BMP

An Image in BMP Format

ICO

An Image in ICO Format

Trait Implementations

Derived Implementations

impl Debug for ImageFormat

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for ImageFormat

impl PartialEq for ImageFormat

fn eq(&self, __arg_0: &ImageFormat) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Copy for ImageFormat

impl Clone for ImageFormat

fn clone(&self) -> ImageFormat

1.0.0fn clone_from(&mut self, source: &Self)