pub enum Mode {
None,
Simple,
Quick,
Medium,
Deep,
Heavy1,
Heavy2,
}Expand description
Compression mode of a single track (the C cmode).
Variants§
None
Stored without compression.
Simple
RLE only (“SIMPLE”).
Quick
QUICK: small-window LZ.
Medium
MEDIUM: LZ with static Huffman distances.
Deep
DEEP: LZ with an adaptive Huffman tree.
Heavy1
HEAVY1: LZH with a 4 KB dictionary.
Heavy2
HEAVY2: LZH with an 8 KB dictionary.
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Mode
impl UnwindSafe for Mode
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