#[repr(u32)]
pub enum ZSTD_literalCompressionMode_e {
ZSTD_lcm_auto,
ZSTD_lcm_huffman,
ZSTD_lcm_uncompressed,
}
Variants
ZSTD_lcm_auto
< Automatically determine the compression mode based on the compression level. Negative compression levels will be uncompressed, and positive compression levels will be compressed.
ZSTD_lcm_huffman
< Always attempt Huffman compression. Uncompressed literals will still be emitted if Huffman compression is not profitable.
ZSTD_lcm_uncompressed
< Always emit uncompressed literals.
Trait Implementations
sourceimpl Clone for ZSTD_literalCompressionMode_e
impl Clone for ZSTD_literalCompressionMode_e
sourcefn clone(&self) -> ZSTD_literalCompressionMode_e
fn clone(&self) -> ZSTD_literalCompressionMode_e
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ZSTD_literalCompressionMode_e
impl Debug for ZSTD_literalCompressionMode_e
sourceimpl Hash for ZSTD_literalCompressionMode_e
impl Hash for ZSTD_literalCompressionMode_e
impl Copy for ZSTD_literalCompressionMode_e
impl Eq for ZSTD_literalCompressionMode_e
impl StructuralEq for ZSTD_literalCompressionMode_e
impl StructuralPartialEq for ZSTD_literalCompressionMode_e
Auto Trait Implementations
impl RefUnwindSafe for ZSTD_literalCompressionMode_e
impl Send for ZSTD_literalCompressionMode_e
impl Sync for ZSTD_literalCompressionMode_e
impl Unpin for ZSTD_literalCompressionMode_e
impl UnwindSafe for ZSTD_literalCompressionMode_e
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more