#[non_exhaustive]#[repr(C)]pub enum CompressionFormat {
Undefined = 0,
Hevc = 1,
Avc = 2,
Jpeg = 3,
Av1 = 4,
Vvc = 5,
Evc = 6,
Jpeg2000 = 7,
Uncompressed = 8,
Mask = 9,
HtJ2k = 10,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Undefined = 0
Rust equivalent of lh::heif_compression_format_heif_compression_undefined
Hevc = 1
Rust equivalent of lh::heif_compression_format_heif_compression_HEVC
Avc = 2
Rust equivalent of lh::heif_compression_format_heif_compression_AVC
Jpeg = 3
Rust equivalent of lh::heif_compression_format_heif_compression_JPEG
Av1 = 4
Rust equivalent of lh::heif_compression_format_heif_compression_AV1
Vvc = 5
Rust equivalent of lh::heif_compression_format_heif_compression_VVC
Evc = 6
Rust equivalent of lh::heif_compression_format_heif_compression_EVC
Jpeg2000 = 7
Rust equivalent of lh::heif_compression_format_heif_compression_JPEG2000
Uncompressed = 8
Rust equivalent of lh::heif_compression_format_heif_compression_uncompressed
Mask = 9
Rust equivalent of lh::heif_compression_format_heif_compression_mask
HtJ2k = 10
v1_18 only.Rust equivalent of lh::heif_compression_format_heif_compression_HTJ2K
Implementations§
Trait Implementations§
Source§impl Clone for CompressionFormat
impl Clone for CompressionFormat
Source§fn clone(&self) -> CompressionFormat
fn clone(&self) -> CompressionFormat
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CompressionFormat
Source§impl Debug for CompressionFormat
impl Debug for CompressionFormat
impl Eq for CompressionFormat
Source§impl Hash for CompressionFormat
impl Hash for CompressionFormat
Source§impl PartialEq for CompressionFormat
impl PartialEq for CompressionFormat
Source§fn eq(&self, other: &CompressionFormat) -> bool
fn eq(&self, other: &CompressionFormat) -> bool
self and other values to be equal, and is used by ==.