pub enum ImageCodec {
Auto,
Jpeg,
Png,
Webp,
Bmp,
Tga,
Tiff,
}Expand description
Still-image bitstream codec.
Variants§
Auto
Infer a codec from an input bitstream or output path.
Jpeg
Joint Photographic Experts Group image.
Png
Portable Network Graphics image.
Webp
WebP image.
Bmp
Windows bitmap image.
Tga
Truevision TGA image.
Tiff
Tagged Image File Format image.
Trait Implementations§
Source§impl Clone for ImageCodec
impl Clone for ImageCodec
impl Copy for ImageCodec
Source§impl Debug for ImageCodec
impl Debug for ImageCodec
impl Eq for ImageCodec
Source§impl PartialEq for ImageCodec
impl PartialEq for ImageCodec
impl StructuralPartialEq for ImageCodec
Auto Trait Implementations§
impl Forget for ImageCodec
impl Freeze for ImageCodec
impl Move for ImageCodec
impl RefUnwindSafe for ImageCodec
impl Send for ImageCodec
impl Sync for ImageCodec
impl Unpin for ImageCodec
impl UnsafeUnpin for ImageCodec
impl UnwindSafe for ImageCodec
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