pub enum Type {
Show 17 variants
Gif,
Tiff,
Rast,
Xbm,
Jpeg,
Bmp,
Png,
Webp,
Exr,
Bgp,
Pbm,
Pgm,
Ppm,
Rgb,
Rgbe,
Flif,
Ico,
}
Expand description
Recognized image types
Variants§
Gif
Gif 87a and 89a Files
Tiff
TIFF files
Rast
Sun Raster files
Xbm
X Bitmap files
Jpeg
JPEG data in JFIF or Exif formats
Bmp
BMP files
Png
Portable Network Graphics
Webp
WebP files
Exr
OpenEXR files
Bgp
BGP (Better Portable Graphics) files
Pbm
PBM (Portable bitmap) files
Pgm
PGM (Portable graymap) files
Ppm
PPM (Portable pixmap) files
Rgb
SGI image library files
Rgbe
RGBE (Radiance HDR) files
Flif
FLIF (Free Lossless Image Format) files
Ico
ICO files
Trait Implementations§
Source§impl Ord for Type
impl Ord for Type
Source§impl PartialOrd for Type
impl PartialOrd for Type
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more