Enum magick_rust::bindings::CompressionType
source · #[repr(u32)]pub enum CompressionType {
Show 29 variants
Undefined = 0,
B44A = 1,
B44 = 2,
BZip = 3,
DXT1 = 4,
DXT3 = 5,
DXT5 = 6,
Fax = 7,
Group4 = 8,
JBIG1 = 9,
JBIG2 = 10,
JPEG2000 = 11,
JPEG = 12,
LosslessJPEG = 13,
LZMA = 14,
LZW = 15,
No = 16,
Piz = 17,
Pxr24 = 18,
RLE = 19,
Zip = 20,
ZipS = 21,
Zstd = 22,
WebP = 23,
DWAA = 24,
DWAB = 25,
BC7 = 26,
BC5 = 27,
LERC = 28,
}
Variants§
Undefined = 0
B44A = 1
B44 = 2
BZip = 3
DXT1 = 4
DXT3 = 5
DXT5 = 6
Fax = 7
Group4 = 8
JBIG1 = 9
JBIG2 = 10
JPEG2000 = 11
JPEG = 12
LosslessJPEG = 13
LZMA = 14
LZW = 15
No = 16
Piz = 17
Pxr24 = 18
RLE = 19
Zip = 20
ZipS = 21
Zstd = 22
WebP = 23
DWAA = 24
DWAB = 25
BC7 = 26
BC5 = 27
LERC = 28
Trait Implementations§
source§impl Clone for CompressionType
impl Clone for CompressionType
source§fn clone(&self) -> CompressionType
fn clone(&self) -> CompressionType
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 moresource§impl Debug for CompressionType
impl Debug for CompressionType
source§impl Hash for CompressionType
impl Hash for CompressionType
source§impl PartialEq for CompressionType
impl PartialEq for CompressionType
source§fn eq(&self, other: &CompressionType) -> bool
fn eq(&self, other: &CompressionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompressionType
impl Eq for CompressionType
impl StructuralPartialEq for CompressionType
Auto Trait Implementations§
impl Freeze for CompressionType
impl RefUnwindSafe for CompressionType
impl Send for CompressionType
impl Sync for CompressionType
impl Unpin for CompressionType
impl UnwindSafe for CompressionType
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