#[repr(i32)]pub enum EncodedImageFormat {
Show 14 variants
BMP = 0,
GIF = 1,
ICO = 2,
JPEG = 3,
PNG = 4,
WBMP = 5,
WEBP = 6,
PKM = 7,
KTX = 8,
ASTC = 9,
DNG = 10,
HEIF = 11,
AVIF = 12,
JPEGXL = 13,
}
Variants§
BMP = 0
GIF = 1
ICO = 2
JPEG = 3
PNG = 4
WBMP = 5
WEBP = 6
PKM = 7
KTX = 8
ASTC = 9
DNG = 10
HEIF = 11
AVIF = 12
JPEGXL = 13
Trait Implementations§
§impl Clone for SkEncodedImageFormat
impl Clone for SkEncodedImageFormat
§fn clone(&self) -> SkEncodedImageFormat
fn clone(&self) -> SkEncodedImageFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SkEncodedImageFormat
impl Debug for SkEncodedImageFormat
§impl Hash for SkEncodedImageFormat
impl Hash for SkEncodedImageFormat
§impl PartialEq for SkEncodedImageFormat
impl PartialEq for SkEncodedImageFormat
impl Copy for SkEncodedImageFormat
impl Eq for SkEncodedImageFormat
impl StructuralPartialEq for SkEncodedImageFormat
Auto Trait Implementations§
impl Freeze for SkEncodedImageFormat
impl RefUnwindSafe for SkEncodedImageFormat
impl Send for SkEncodedImageFormat
impl Sync for SkEncodedImageFormat
impl Unpin for SkEncodedImageFormat
impl UnwindSafe for SkEncodedImageFormat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)