pub enum Compressor {
None,
Kraken,
Leviathan,
Mermaid,
Selkie,
Hydra,
}
Expand description
Set of compression algorithms.
Each compressor has its own trade-offs between compression ratio and speed.
Variants§
None
No compression, just a copy
Kraken
Fast decompression, high compression ratio
Leviathan
Slighly slower decompression but higher compression ratio than Kraken
Mermaid
Between Kraken and Selkie in speed with decent compression ratio
Selkie
“Super fast” relative to Mermaid. Used for maximum decompression speed
Hydra
Automatically selects between Kraken, Leviathan, Mermaid, and Selkie
Trait Implementations§
Source§impl Into<i32> for Compressor
impl Into<i32> for Compressor
Source§fn into(self) -> OodleLZ_Compressor
fn into(self) -> OodleLZ_Compressor
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for Compressor
impl RefUnwindSafe for Compressor
impl Send for Compressor
impl Sync for Compressor
impl Unpin for Compressor
impl UnwindSafe for Compressor
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