#[non_exhaustive]pub enum ImageType {
Show 21 variants
Aseprite,
Bmp,
Dds,
Exr,
Farbfeld,
Gif,
Hdr,
Heif(Compression),
Ico,
Ilbm,
Jpeg,
Jxl,
Ktx2,
Png,
Pnm,
Psd,
Qoi,
Tga,
Tiff,
Vtf,
Webp,
}
Expand description
Types of image formats that this crate can identify.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Aseprite
Animated sprite image format https://github.com/aseprite/aseprite
Bmp
Standard Bitmap
Dds
DirectDraw Surface
Exr
OpenEXR
Farbfeld
Farbfeld https://tools.suckless.org/farbfeld/
Gif
Standard GIF
Hdr
Radiance HDR
Heif(Compression)
Image Container Format
Ico
Icon file
Ilbm
Interleaved Bitmap
Jpeg
Standard JPEG
Jxl
JPEG XL
Ktx2
Khronos Texture Container
Png
Standard PNG
Pnm
Portable Any Map
Psd
Photoshop Document
Qoi
Quite OK Image Format https://qoiformat.org/
Tga
Truevision Graphics Adapter
Tiff
Standard TIFF
Vtf
Valve Texture Format
Webp
Standard Webp
Trait Implementations§
Source§impl Ord for ImageType
impl Ord for ImageType
Source§impl PartialOrd for ImageType
impl PartialOrd for ImageType
impl Copy for ImageType
impl Eq for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl Freeze for ImageType
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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