Enum level_lib::anvil::region::CompressionScheme
source · #[repr(u8)]pub enum CompressionScheme {
Gzip = 1,
Zlib = 2,
None = 3,
LZ4 = 4,
}Expand description
An enum of the different compression types
Variants§
Gzip = 1
Compressed with gzip
Zlib = 2
Compressed with zlib
None = 3
Not compressed at all
LZ4 = 4
Compressed with lz4
Trait Implementations§
source§impl Clone for CompressionScheme
impl Clone for CompressionScheme
source§fn clone(&self) -> CompressionScheme
fn clone(&self) -> CompressionScheme
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 PartialEq for CompressionScheme
impl PartialEq for CompressionScheme
source§fn eq(&self, other: &CompressionScheme) -> bool
fn eq(&self, other: &CompressionScheme) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CompressionScheme
impl Eq for CompressionScheme
impl StructuralPartialEq for CompressionScheme
Auto Trait Implementations§
impl Freeze for CompressionScheme
impl RefUnwindSafe for CompressionScheme
impl Send for CompressionScheme
impl Sync for CompressionScheme
impl Unpin for CompressionScheme
impl UnwindSafe for CompressionScheme
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