pub enum LiteralsBlockType {
Raw,
Rle,
Compressed,
Treeless,
}Expand description
Literals block type.
Variants§
Raw
Raw literals (uncompressed).
Rle
RLE literals (single byte).
Compressed
Compressed with Huffman, tree included.
Treeless
Compressed with Huffman, uses previous tree.
Implementations§
Trait Implementations§
Source§impl Clone for LiteralsBlockType
impl Clone for LiteralsBlockType
Source§fn clone(&self) -> LiteralsBlockType
fn clone(&self) -> LiteralsBlockType
Returns a duplicate 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 LiteralsBlockType
impl Debug for LiteralsBlockType
Source§impl PartialEq for LiteralsBlockType
impl PartialEq for LiteralsBlockType
impl Copy for LiteralsBlockType
impl Eq for LiteralsBlockType
impl StructuralPartialEq for LiteralsBlockType
Auto Trait Implementations§
impl Freeze for LiteralsBlockType
impl RefUnwindSafe for LiteralsBlockType
impl Send for LiteralsBlockType
impl Sync for LiteralsBlockType
impl Unpin for LiteralsBlockType
impl UnsafeUnpin for LiteralsBlockType
impl UnwindSafe for LiteralsBlockType
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