pub enum Image {
Show 14 variants
Jpeg,
Png,
Gif,
Webp,
Cr2,
Tif,
Bmp,
Heif,
Avif,
Jxr,
Psd,
Ico,
Ora,
Djvu,
}Expand description
Image file formats.
Supports common image formats including raster and vector types.
Variants§
Jpeg
JPEG image format
Png
PNG image format
Gif
GIF image format
Webp
WebP image format
Cr2
Canon Raw 2 format
Tif
TIFF image format
Bmp
BMP image format
Heif
HEIF image format
Avif
AVIF image format
Jxr
JPEG XR format
Psd
Adobe Photoshop document
Ico
ICO icon format
Ora
OpenRaster format
Djvu
DjVu document format
Trait Implementations§
Source§impl MimeFormat for Image
impl MimeFormat for Image
impl Eq for Image
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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